PATH:
usr
/
local
/
lib
/
node_modules
/
npm
/
node_modules
/
err-code
'use strict'; function createError(msg, code, props) { var err = msg instanceof Error ? msg : new Error(msg); var key; if (typeof code === 'object') { props = code; } else if (code != null) { err.code = code; } if (props) { for (key in props) { err[key] = props[key]; } } return err; } module.exports = createError;
[+]
..
[-] index.umd.js
[edit]
[-] .npmignore
[edit]
[-] package.json
[edit]
[-] .editorconfig
[edit]
[-] index.js
[edit]
[-] .travis.yml
[edit]
[-] README.md
[edit]
[-] bower.json
[edit]
[-] .eslintrc.json
[edit]