{"_id":"consign","_rev":"40-80025d2f16b2ddcf164a28677b2c9027","name":"consign","description":"Autoload your scripts.","dist-tags":{"latest":"0.1.6"},"versions":{"1.0.0":{"name":"consign","version":"1.0.0","description":"dom event delegation","main":"index.js","scripts":{"build":"browserify index.js --standalone consign > build/consign.js","minify":"yuicompressor build/consign.js -o build/consign.min.js"},"repository":{"type":"git","url":"https://github.com/ergusto/consign.git"},"author":{"name":"Fergus Ruston","email":"fergus.ruston@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/ergusto/consign/issues"},"homepage":"https://github.com/ergusto/consign","gitHead":"22502e2bbee85165f4ef3787e1976744798ade3f","_id":"consign@1.0.0","_shasum":"6d53bc4c4ca320ed79d6b6cb731144e275480873","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"ergusto","email":"ergusto@gmail.com"},"maintainers":[{"name":"ergusto","email":"ergusto@gmail.com"}],"dist":{"shasum":"6d53bc4c4ca320ed79d6b6cb731144e275480873","tarball":"https://registry.npmjs.org/consign/-/consign-1.0.0.tgz","integrity":"sha512-wSV6wNN9uVbc1mQXftwYc+LkrY1NtkIVjrzT+QwOblD9ZLQGaEw2vURmPhG4fEEGndmHCfcXTntYwL2IL3jgrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDedh6UDdzEhSSYWNSreAZKXqRk+RxwXsZVDV71zuJhswIgWsRJOIRLeVqCXwaYAJqJF8NXjHwBHPLJieK1l+J7cjA="}]},"directories":{}},"1.0.1":{"name":"consign","version":"1.0.1","description":"dom event delegation","main":"index.js","scripts":{"build":"browserify index.js --standalone consign > build/consign.js","minify":"yuicompressor build/consign.js -o build/consign.min.js"},"repository":{"type":"git","url":"https://github.com/ergusto/consign.git"},"author":{"name":"Fergus Ruston","email":"fergus.ruston@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/ergusto/consign/issues"},"homepage":"https://github.com/ergusto/consign","gitHead":"f13cc69ff7c6ef3cb5f2e8473232b0937df9eacf","_id":"consign@1.0.1","_shasum":"ef0b98d9db075cdd3eeb59763f6aceedd13c5a63","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"ergusto","email":"ergusto@gmail.com"},"maintainers":[{"name":"ergusto","email":"ergusto@gmail.com"}],"dist":{"shasum":"ef0b98d9db075cdd3eeb59763f6aceedd13c5a63","tarball":"https://registry.npmjs.org/consign/-/consign-1.0.1.tgz","integrity":"sha512-YbiWyXWSTkgFv5NSrtc1n+fiNY2Gn+aQ69hSvHHo7YXb9f6xQyhniKJPvs4eRqN5GbE6j+eatBPi5pLpKw9ojA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeZS2qrNBZfA9rONacPqL+hpiMquiU7gB179ptjoBlHwIhAPi3cn2kwy2Xdxp1lwk64BmCKvy6R9n2JWHW8EyCRUcC"}]},"directories":{}},"1.0.2":{"name":"consign","version":"1.0.2","description":"dom event delegation","main":"index.js","scripts":{"build":"browserify index.js --standalone consign > build/consign.js","minify":"yuicompressor build/consign.js -o build/consign.min.js"},"repository":{"type":"git","url":"https://github.com/ergusto/consign.git"},"author":{"name":"Fergus Ruston","email":"fergus.ruston@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/ergusto/consign/issues"},"homepage":"https://github.com/ergusto/consign","gitHead":"176389f992af22d8d1e3e46a20d399d2792d94a3","_id":"consign@1.0.2","_shasum":"3e78ca815bc59e2c64cf16da1a8769dc29481fa5","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"ergusto","email":"ergusto@gmail.com"},"maintainers":[{"name":"ergusto","email":"ergusto@gmail.com"}],"dist":{"shasum":"3e78ca815bc59e2c64cf16da1a8769dc29481fa5","tarball":"https://registry.npmjs.org/consign/-/consign-1.0.2.tgz","integrity":"sha512-IyNtbYN6vlQFM6YCLru/07r4ECQqy6J9+SS2fb+TxFMpEZnOIWctOeGh1HA+dVNhl6lo1CyLPIUCSlF4Q3hWqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAIsoJRX/cLBjms1NzUKqNtx72GY1lJIfSUb4kr4mL9OAiEA/XDhqoVyJot0vFPOpYl7tZRWNCHbLpBsKgXdaopZETs="}]},"directories":{}},"1.0.3":{"name":"consign","version":"1.0.3","description":"dom event delegation","main":"index.js","scripts":{"build":"browserify index.js --standalone consign > build/consign.js","minify":"yuicompressor build/consign.js -o build/consign.min.js"},"repository":{"type":"git","url":"https://github.com/ergusto/consign.git"},"author":{"name":"Fergus Ruston","email":"fergus.ruston@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/ergusto/consign/issues"},"homepage":"https://github.com/ergusto/consign","gitHead":"327559f1b579b934579414c62950e1529e728c32","_id":"consign@1.0.3","_shasum":"7bc9254afb4e530e8e176b3b6e2adb804244325b","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"ergusto","email":"ergusto@gmail.com"},"maintainers":[{"name":"ergusto","email":"ergusto@gmail.com"}],"dist":{"shasum":"7bc9254afb4e530e8e176b3b6e2adb804244325b","tarball":"https://registry.npmjs.org/consign/-/consign-1.0.3.tgz","integrity":"sha512-n/yNOcPH6LHBXGvn4I7yZN6CizgAGIjL4wspWi+TundwWGXWv9t00MJ+StMNOflvFfeh2K7887feVyyJJRHFiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeu8TxHxWOPWseVX7m/K8NyiXU+DUEawzNPaH9SrfROwIhAM+MCu6FI94OmtFUkbUXgjTjWXJyYsG8YPhNwvV0ik2J"}]},"directories":{}},"0.1.1":{"name":"consign","description":"Autoload your scripts.","version":"0.1.1","author":{"name":"Jarrad Seers","email":"jarrad@seers.me"},"contributors":[],"main":"index","keywords":["mvc","autoload","koa","express","express-load","auto-configure","configuration","consign","load","require"],"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/jarradseers/consign"},"devDependencies":{"mocha":"^1.21.4"},"scripts":{"test":"mocha"},"gitHead":"2858269baa1f1814f646259dce36430995066764","bugs":{"url":"https://github.com/jarradseers/consign/issues"},"homepage":"https://github.com/jarradseers/consign","_id":"consign@0.1.1","_shasum":"362ce82ae9fea96d31ab5ec2d5093485717d632c","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"jarradseers","email":"jarrad@jarradseers.com"},"dist":{"shasum":"362ce82ae9fea96d31ab5ec2d5093485717d632c","tarball":"https://registry.npmjs.org/consign/-/consign-0.1.1.tgz","integrity":"sha512-fxCMWyPIMR+s5pl0mR4MSAUH42ZXw8wdF/WDXx39uDheIom8nCJc5YusiSYSDYXDgWratqCiTWAloQ5YX3VfGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0ApwmPc0qr9yxf0f9UV7pa0Vd2qhcXgYb2IFX4iR1sgIgZaRl/p9/jm7lrEVoW7BXGnTPyF/kYM4QT42IqKHDI98="}]},"maintainers":[{"name":"ergusto","email":"ergusto@gmail.com"},{"name":"jarradseers","email":"jarrad@jarradseers.com"}],"directories":{}},"0.1.2":{"name":"consign","description":"Autoload your scripts.","version":"0.1.2","author":{"name":"Jarrad Seers","email":"jarrad@seers.me"},"contributors":[],"main":"index","keywords":["mvc","autoload","koa","express","express-load","auto-configure","configuration","consign","load","require"],"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/jarradseers/consign"},"devDependencies":{"middleware-chain":"^1.0.1","mocha":"^1.21.4"},"scripts":{"test":"mocha"},"gitHead":"7c32acf9098886dfa9ace1ba7cb2a5c775fe3f48","bugs":{"url":"https://github.com/jarradseers/consign/issues"},"homepage":"https://github.com/jarradseers/consign","_id":"consign@0.1.2","_shasum":"768a31aa4e6a974a0330d647036c56cf13476dd4","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jarradseers","email":"jarrad@seers.me"},"maintainers":[{"name":"jarradseers","email":"jarrad@jarradseers.com"}],"dist":{"shasum":"768a31aa4e6a974a0330d647036c56cf13476dd4","tarball":"https://registry.npmjs.org/consign/-/consign-0.1.2.tgz","integrity":"sha512-2sGCftbsdXoFzD5hrXa1uhBUbbZmU70UxoXum3Ssjf3f3T6Dvsu2ubaYi71BWB8GwvqtBBP27P9EtxBbohPQGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNRXivbKJYl3fxtX7xnR6DAM5+CUJwVvivHUJBRFVHMAIgJ90EpkXLQQIPWcTPOYA8AkB1fLYydMJ+o8yy7QyuFjE="}]},"directories":{}},"0.1.4":{"name":"consign","description":"Autoload your scripts.","version":"0.1.4","author":{"name":"Jarrad Seers","email":"jarrad@seers.me"},"contributors":[],"main":"index","keywords":["mvc","autoload","koa","express","express-load","auto-configure","configuration","consign","load","require"],"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/jarradseers/consign.git"},"devDependencies":{"middleware-chain":"^1.0.1","mocha":"^1.21.4"},"scripts":{"test":"mocha"},"gitHead":"d7427cf329aac35857b66b8fe88859b59928efb3","bugs":{"url":"https://github.com/jarradseers/consign/issues"},"homepage":"https://github.com/jarradseers/consign#readme","_id":"consign@0.1.4","_shasum":"2deb0c3a40d670257f0792bd36b4d86e8c514c77","_from":".","_npmVersion":"4.4.4","_nodeVersion":"7.6.0","_npmUser":{"name":"jarradseers","email":"jarrad@seers.me"},"dist":{"shasum":"2deb0c3a40d670257f0792bd36b4d86e8c514c77","tarball":"https://registry.npmjs.org/consign/-/consign-0.1.4.tgz","integrity":"sha512-k0i6eNY7mITTQMF7HGnqrJmcmCd5rrSgkQ1gtgv7N++QxvvQovHyHb9zTO8o8/Obhf59M23u0+uEAtNUAU3nJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFxq0B22kZfWH4VNgkWvMzQcPLHda7/E0VH+8uvp1Z/CAiEA3wwnDdVPF1OcR1116LJQcAIFKM7Y2576U88ZVxaaJNc="}]},"maintainers":[{"name":"jarradseers","email":"jarrad@jarradseers.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/consign-0.1.4.tgz_1491350252969_0.23046644707210362"},"directories":{}},"0.1.5":{"name":"consign","description":"Autoload your scripts.","version":"0.1.5","author":{"name":"Jarrad Seers","email":"jarrad@seers.me"},"contributors":[],"main":"index","keywords":["mvc","autoload","koa","express","express-load","auto-configure","configuration","consign","load","require"],"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/jarradseers/consign.git"},"devDependencies":{"middleware-chain":"^1.0.1","mocha":"^1.21.4"},"scripts":{"test":"mocha"},"gitHead":"a1c965f5b1609def0a24d9128f313f0300c89993","bugs":{"url":"https://github.com/jarradseers/consign/issues"},"homepage":"https://github.com/jarradseers/consign#readme","_id":"consign@0.1.5","_npmVersion":"5.0.1","_nodeVersion":"8.0.0","_npmUser":{"name":"jarradseers","email":"jarrad@seers.me"},"dist":{"integrity":"sha512-M9j7KpPtDK4ALiCS2iiKNq1oZ6OdUmf2em2mUF1b0p4hh/f7K+dxtbZHemU06wvGmbp7wdbSo2fOV8YCpMyjjQ==","shasum":"9d6b7a3ed8c1913d912b6e5feb3eeb5d87541429","tarball":"https://registry.npmjs.org/consign/-/consign-0.1.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHyAEzPwUGl/BPYH8+Q/t8mF43NQdzxX1RNgV7mYWEhQCIQCUO/r0b8ItbjhJ7M9zNtvXG0YaC1uwWOdFZVCP0oHvdA=="}]},"maintainers":[{"name":"jarradseers","email":"jarrad@jarradseers.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/consign-0.1.5.tgz_1496375074777_0.2183474232442677"},"directories":{}},"0.1.6":{"name":"consign","description":"Autoload your scripts.","version":"0.1.6","author":{"name":"Jarrad Seers","email":"jarrad@seers.me"},"contributors":[],"main":"index","keywords":["mvc","autoload","koa","express","express-load","auto-configure","configuration","consign","load","require"],"engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/jarradseers/consign.git"},"devDependencies":{"middleware-chain":"^1.0.1","mocha":"^1.21.4"},"scripts":{"test":"mocha"},"gitHead":"08a32e9bcda582d5e5d47f299a25f31d36415202","bugs":{"url":"https://github.com/jarradseers/consign/issues"},"homepage":"https://github.com/jarradseers/consign#readme","_id":"consign@0.1.6","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"jarradseers","email":"jarrad@seers.me"},"dist":{"integrity":"sha512-Idlqa7N46rD6Odarx9qArbMpPrljc8DjV2DYH6uAFoOLITtuanhi2S/Z4LX4Jvg6+ef16Mjwwp5k5c5fMoOzIA==","shasum":"5a9b3a60ba5d362a514841b0c633e584486a72d7","tarball":"https://registry.npmjs.org/consign/-/consign-0.1.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeO259kENDgyOn06ufzK9Nru72ABDdi4EYeF7rRFQwbgIhAPj2jjKKQZOI2ShKmZAshuAa9stiC98+RmItsXDp1CZU"}]},"maintainers":[{"name":"jarradseers","email":"jarrad@jarradseers.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/consign-0.1.6.tgz_1497822396441_0.25739898602478206"},"directories":{}}},"readme":"# Consign\n\n[![Build Status](https://travis-ci.org/jarradseers/consign.svg?branch=develop)](https://travis-ci.org/jarradseers/consign)\n\n  Autoload your scripts! _the successor to `express-load`_\n\n  Consign makes applications easier to develop with logical file separation and automatic script loading.\n\n  Consign can be used to autoload models, routes, schemas, configs, controllers, object maps... etc...\n\n  Also if you are writing scripts and just need to add some structure, check out (middleware-chain)[https://github.com/jarradseers/middleware-chain], there is a new example for this usage in the [examples](examples) folder.\n\n## Usage\n\n```js\nvar consign = require('consign');\n\nconsign()\n  .include('models')\n  .then('controllers')\n  .into(app);\n\n// app.models.user\n// app.models.company\n// app.controllers.user\n// app.controllers.company\n```\n\nCheck out the [examples](examples) or [test folder](test) for more!\n\n## Installation\n\n```bash\n$ npm install consign\n```\n\n## Features\n\n  * Autoload scripts\n  * Supports order, includes and excludes\n  * Made to supplement frameworks or scripts\n  * Makes MVC applications easier to work with\n  * Test driven\n  * Fast, Light-weight with no external dependencies\n  * Highly configurable\n\n## Options\n\n  The optional options object is passed in as a parameter to the main `consign` function.\n\n#### Defaults\n  ```js\n    consign({\n      cwd: process.cwd(),\n      locale: 'en-us',\n      logger: console,\n      verbose: true,\n      extensions: [ '.js', '.json', '.node' ],\n      loggingType: 'info'\n    })\n  ```\n\n### Logging\n\n  `logger` - Defaults to console, this can be switched out.\n  `verbose` - On by default, set to `false` for no logging\n  `loggingType` - Set the type of logging, defaults to `info`\n\n### Locale\n\nCurrent supported locale (for logging output):\n\n  - en-au\n  - en-nz\n  - en-us\n  - fr-fr\n  - pt-br\n  - pl\n  - zh-cn\n\n### Base Directory (cwd)\n\n  Consign will simply use a relative path from your current working directory, however sometimes you don't want heavily nested files included in the object chain, so you can set the cwd:\n\n  ```js\n  consign()\n    .include('app') // ./app/controllers/user.js\n    .into(app);\n  ```\n\n  would result in:\n\n  ```js\n  app.app.controllers.user\n  ```\n\n  so using the `cwd` option:\n\n  ```js\n  consign({cwd: 'app'})\n    .include('app') // ./app/controllers/user.js\n    .into(app);\n  ```\n  would give us:\n\n  ```js\n  app.controllers.user\n  ```\n\n### File Extensions\n\n  Defaults to an array containing `.js`, .`json` and `.node`, new ones are concatenated instead of replaced.\n\n## Tests\n\n  To run the test suite, first install the dependencies, then run `npm test`:\n\n  ```bash\n  $ npm install\n  $ npm test\n  ```\n\n## License\n\n  [MIT](LICENSE)\n","maintainers":[{"name":"jarradseers","email":"jarrad@jarradseers.com"}],"time":{"modified":"2022-06-13T21:55:34.181Z","created":"2014-12-01T22:35:27.761Z","1.0.0":"2014-12-01T22:35:27.761Z","1.0.1":"2014-12-17T02:47:56.765Z","1.0.2":"2014-12-29T18:48:28.405Z","1.0.3":"2015-01-21T20:49:06.311Z","0.1.0":"2015-07-22T00:28:30.183Z","0.1.1":"2015-07-22T00:46:33.130Z","0.1.2":"2015-08-23T10:20:51.878Z","0.1.4":"2017-04-04T23:57:33.196Z","0.1.5":"2017-06-02T03:44:34.891Z","0.1.6":"2017-06-18T21:46:36.578Z"},"homepage":"https://github.com/jarradseers/consign#readme","repository":{"type":"git","url":"git://github.com/jarradseers/consign.git"},"author":{"name":"Jarrad Seers","email":"jarrad@seers.me"},"bugs":{"url":"https://github.com/jarradseers/consign/issues"},"readmeFilename":"README.md","keywords":["mvc","autoload","koa","express","express-load","auto-configure","configuration","consign","load","require"],"contributors":[],"users":{"raisiqueira":true,"begrossi":true,"igorissen":true,"rochejul":true,"firerishi":true,"jonathas":true,"slmcassio":true,"philipjc":true,"alanmarcell":true,"hurerera":true,"vicsandoli":true,"vikingsteam":true,"italosouza":true,"lukaswilkeer":true,"eltonmelo":true,"zaher":true,"robquaresma":true,"destemidosistemas":true}}