1.0.0 • Published 5 years ago
import-from-fallback v1.0.0
import-from-fallback
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
orgit 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)'
orgit 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