1.0.0 • Published 5 years ago

import-from-fallback v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

import-from-fallback

Build status Test coverage NPM version NPM Downloads Prettier Conventional Commits

Import a module like with require() but from some fallback directories

Installation

npm install import-from-fallback
# or use yarn
yarn add import-from-fallback

Usage

const importFromFallback = require('import-from-fallback')

Contributing

  • Fork it!
  • Create your new branch:
    git checkout -b feature-new or git checkout -b fix-which-bug
  • Start your magic work now
  • Make sure npm test passes
  • Commit your changes:
    git commit -am 'feat: some description (close #123)' or git commit -am 'fix: some description (fix #123)'
  • Push to the branch: git push
  • Submit a pull request :)

Authors

This library is written and maintained by 余聪, yucong06@meituan.com.

License

MIT - 余聪 🐟

1.0.0

5 years ago