Create a module not found error
npm install module-not-found-error> Create a module not found error
```
$ npm install --save module-not-found-error
`js
var moduleNotFoundError = require('module-not-found-error')
var err = moduleNotFoundError('foo')
//=> err.message: Cannot find module 'foo'
//=> err.code: 'MODULE_NOT_FOUND'
`
#### moduleNotFoundError(id) -> err
Returns an error with the appropriate message and code.
#### id
Required
Type: string
A module name or path passed to require`.
MIT © Ben Drucker