chrishelgert / dynamic-module

install and use node modules only if you need them

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dynamic-module

npm version Build Status codecov Standard - JavaScript Style Guide Greenkeeper badge

install and use modules only if you need them

Usage

dynamicModule('flat-file-db')
  .then((flatfile) => {
    // use flatfile ...
  })
  .catch((err) => {
    // installation failed
  })

Contributing

  1. Fork it
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create new Pull Request

LICENSE

Copyright (c) 2017-present Chris Helgert. See License for details.

About

install and use node modules only if you need them

License:MIT License


Languages

Language:JavaScript 100.0%