{"versions":{"1.0.1":{"name":"browser-assert","version":"1.0.1","description":"Featherweight assert module.","author":{"name":"muji","email":"noop@xpm.io"},"repository":{"type":"git","url":"git://github.com/socialally/browser-assert.git"},"main":"lib/assert.js","dependencies":{},"devDependencies":{"brfs":"~1.4.0","browser-sync":"~2.4.0","browserify":"~9.0.3","chai":"~2.1.0","del":"~1.1.1","gulp":"~3.8.11","gulp-eslint":"~0.5.0","gulp-istanbul":"~0.6.0","gulp-istanbul-report":"0.0.1","gulp-mocha":"~2.0.0","gulp-mocha-phantomjs":"~0.5.3","gulp-size":"~1.2.1","gulp-sourcemaps":"~1.4.0","gulp-uglify":"~1.1.0","gulp-util":"~3.0.4","istanbul":"~0.3.6","merge":"~1.2.0","mocha":"~2.1.0","mocha-phantomjs-istanbul":"0.0.2","require-dir":"~0.1.0","run-sequence":"~1.0.2","vinyl-buffer":"~1.0.0","vinyl-source-stream":"~1.0.0"},"engine":["node >= 0.10.11"],"scripts":{"docs":"npm run readme","readme":"mdp --force -v","start":"gulp start","lint":"gulp lint","clean":"gulp clean","spec":"gulp spec","instrument":"istanbul instrument --output instrument lib/","cover":"npm run instrument && gulp cover","test":"gulp test"},"mdp":{"title":"Assert","pedantic":true,"include":"doc/readme","require":"lib","links":"links.md","toc":"Table of Contents","base":"https://github.com/socialally/browser-assert","partial":[{"inc":"introduction.md"},{"req":"assert.js","type":"code","language":"javascript"},{"inc":["install.md","developer.md","license.md"]}]},"gitHead":"41b15874888c19d406ce2fa604a9617f969ffac0","bugs":{"url":"https://github.com/socialally/browser-assert/issues"},"homepage":"https://github.com/socialally/browser-assert","_id":"browser-assert@1.0.1","_shasum":"11cbbf91b850f2bc26650646ea86b9d9a4471dc2","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"anonymous","email":"freeformsystems@gmail.com"},"maintainers":[{"name":"anonymous","email":"freeformsystems@gmail.com"}],"dist":{"shasum":"11cbbf91b850f2bc26650646ea86b9d9a4471dc2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/browser-assert/-/browser-assert-1.0.1.tgz","integrity":"sha512-qkKYKvPYEraspVQDbmSkYINdD5/6MKNeAHQHXv2Anzu9AxgTalkqmBRrIyRoC4UhbY/35xAAZKgQAT/a4lHVBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbtRL9w4jfEnsV/Y+4N42vaXmxiLokgGxZzGT0dJPE5QIhAPHE644H9imRxhC8X4w9qz/voxLk9atM35btC5NxsC6t"}]},"contributors":[]},"1.1.0":{"name":"browser-assert","version":"1.1.0","description":"Featherweight assert module","author":{"name":"muji","email":"noop@xpm.io"},"repository":{"type":"git","url":"git://github.com/socialally/browser-assert.git"},"main":"lib/assert.js","devDependencies":{"browser-sync":"~2.8.2","browserify":"~11.0.1","chai":"~3.2.0","del":"~1.2.0","gulp":"~3.9.0","gulp-eslint":"~1.0.0","gulp-istanbul-report":"0.0.1","gulp-mocha-phantomjs":"~0.8.1","gulp-size":"~1.2.1","gulp-sourcemaps":"~1.5.2","gulp-uglify":"~1.2.0","gulp-util":"~3.0.4","istanbul":"~0.3.6","merge":"~1.2.0","mocha":"~2.2.5","mocha-phantomjs-istanbul":"~0.0.2","require-dir":"~0.3.0","run-sequence":"~1.1.2","vinyl-buffer":"~1.0.0","vinyl-source-stream":"~1.1.0"},"scripts":{"docs":"npm run readme","readme":"mdp --force -v","start":"gulp start","lint":"gulp lint","clean":"gulp clean","spec":"gulp spec","instrument":"istanbul instrument --output instrument lib/","cover":"npm run instrument && gulp cover","test":"gulp test"},"mdp":{"title":"Assert","pedantic":true,"include":"doc/readme","require":"lib","links":"links.md","toc":"Table of Contents","base":"https://github.com/socialally/browser-assert","partial":[{"inc":"introduction.md"},{"req":"assert.js","type":"code","language":"javascript"},{"inc":["install.md","developer.md","license.md"]}]},"gitHead":"39a2eebb8a7393854ab510be5fa9f6c2348672a8","bugs":{"url":"https://github.com/socialally/browser-assert/issues"},"homepage":"https://github.com/socialally/browser-assert","_id":"browser-assert@1.1.0","_shasum":"ca04438971a02c090851f8d0b367e57e927b5411","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"anonymous","email":"freeformsystems@gmail.com"},"maintainers":[{"name":"anonymous","email":"freeformsystems@gmail.com"}],"dist":{"shasum":"ca04438971a02c090851f8d0b367e57e927b5411","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/browser-assert/-/browser-assert-1.1.0.tgz","integrity":"sha512-N+Y+sP1U4zKZ9ky3PZh+TlKIiX492VquZ+/avHiGDF/sMt+tDQXw/ViU53blv5HbrGHPMqPS0R4InZHZJwGo7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8AC9/nWGRFcy2IsyaVp2I1WXAou0H8mVDpBNID1z5rAiEAiTtTjyhD4L7hw1/vj29jFikjXfHtEHh8wTGICd/sHIU="}]},"contributors":[]},"1.1.1":{"name":"browser-assert","version":"1.1.1","description":"Featherweight assert module","author":{"name":"muji","email":"noop@xpm.io"},"repository":{"type":"git","url":"git://github.com/socialally/browser-assert.git"},"main":"lib/assert.js","devDependencies":{"browser-sync":"~2.8.2","browserify":"~11.0.1","chai":"~3.2.0","del":"~1.2.0","gulp":"~3.9.0","gulp-eslint":"~1.0.0","gulp-istanbul-report":"0.0.1","gulp-mocha-phantomjs":"~0.8.1","gulp-size":"~1.2.1","gulp-sourcemaps":"~1.5.2","gulp-uglify":"~1.2.0","gulp-util":"~3.0.4","istanbul":"~0.3.6","merge":"~1.2.0","mocha":"~2.2.5","mocha-phantomjs-istanbul":"~0.0.2","require-dir":"~0.3.0","run-sequence":"~1.1.2","vinyl-buffer":"~1.0.0","vinyl-source-stream":"~1.1.0"},"scripts":{"docs":"npm run readme","readme":"mdp --force -v","start":"gulp start","lint":"gulp lint","clean":"gulp clean","spec":"gulp spec","instrument":"istanbul instrument --output instrument lib/","cover":"npm run instrument && gulp cover","test":"gulp test"},"mdp":{"title":"Assert","pedantic":true,"include":"doc/readme","require":"lib","links":"links.md","toc":"Table of Contents","base":"https://github.com/socialally/browser-assert","partial":[{"inc":"introduction.md"},{"req":"assert.js","type":"code","language":"javascript"},{"inc":["install.md","developer.md","license.md"]}]},"gitHead":"3ee77f26d11cbc1ceea196b31156844b177aff0c","bugs":{"url":"https://github.com/socialally/browser-assert/issues"},"homepage":"https://github.com/socialally/browser-assert","_id":"browser-assert@1.1.1","_shasum":"a8fe49887a200ff32784a717d400749faece6cd6","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"anonymous","email":"freeformsystems@gmail.com"},"maintainers":[{"name":"anonymous","email":"freeformsystems@gmail.com"}],"dist":{"shasum":"a8fe49887a200ff32784a717d400749faece6cd6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/browser-assert/-/browser-assert-1.1.1.tgz","integrity":"sha512-A4161Mhz9fyJEX+8kZ/oJffi9fpfkUusoajZUbWP3yvR5U6Z/3AOU1TGGGP5bZvJ8f4JEHS/g6tug9TdwwQ56g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjMj0G1i278TOCZkM1cywH6qy1r8WjfitNDVJvyJmvLAiEAgUHnVfjvShX/v/hZd3qClJWAsgd9W16yedRLOVZjvk0="}]},"contributors":[]},"1.2.0":{"name":"browser-assert","description":"Featherweight assert module","version":"1.2.0","stability":"stable","author":{"name":"muji","email":"noop@xpm.io"},"repository":{"type":"git","url":"git://github.com/socialally/browser-assert.git"},"main":"lib/assert.js","devDependencies":{"browser-sync":"~2.8.2","browserify":"~11.0.1","chai":"~3.2.0","del":"~1.2.0","gulp":"~3.9.0","gulp-eslint":"~1.0.0","gulp-istanbul-report":"0.0.1","gulp-mocha-phantomjs":"~0.8.1","gulp-size":"~1.2.1","gulp-sourcemaps":"~1.5.2","gulp-uglify":"~1.2.0","gulp-util":"~3.0.4","istanbul":"~0.3.6","merge":"~1.2.0","mocha":"~2.2.5","mocha-phantomjs-istanbul":"~0.0.2","require-dir":"~0.3.0","run-sequence":"~1.1.2","vinyl-buffer":"~1.0.0","vinyl-source-stream":"~1.1.0"},"scripts":{"docs":"npm run readme","readme":"mdp --force -v","start":"gulp start","lint":"gulp lint","clean":"gulp clean","spec":"gulp spec","instrument":"istanbul instrument --output instrument lib/","cover":"npm run instrument && gulp cover","test":"gulp test"},"mdp":{"title":"Assert","pedantic":true,"include":"doc/readme","require":"lib","links":"links.md","toc":"Table of Contents","base":"https://github.com/socialally/browser-assert","partial":[{"ref":"stability","format":"> `Stability: %s`"},{"inc":"introduction.md"},{"req":"assert.js","type":"code","language":"javascript"},{"inc":["install.md","developer.md","license.md"]}]},"gitHead":"9e75ff7a61d9de30faed9b59ee100aff69c07f60","bugs":{"url":"https://github.com/socialally/browser-assert/issues"},"homepage":"https://github.com/socialally/browser-assert#readme","_id":"browser-assert@1.2.0","_shasum":"f053e4dc32a231a8fb22a92d0a4289402e820d35","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"anonymous","email":"freeformsystems@gmail.com"},"maintainers":[{"name":"anonymous","email":"freeformsystems@gmail.com"}],"dist":{"shasum":"f053e4dc32a231a8fb22a92d0a4289402e820d35","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/browser-assert/-/browser-assert-1.2.0.tgz","integrity":"sha512-rq8eRzQkGzrTIyR8wkAiM62ikWGrsRh2W7WY9SkqN/u77d+lBXJLmTgDMQ1OuyQ2Vb610LiVifaPe0ZaPikydQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICC0SKE+NpHTcrw00K618CspiYoymqmYzNNP0KNexBJ1AiB6W38roddd8gBZ0Ec6hWUcq5VN9j9Q9hrgu4zzt6DH5A=="}]},"contributors":[]},"1.2.1":{"name":"browser-assert","description":"Featherweight assert module","version":"1.2.1","stability":"stable","author":{"name":"muji","email":"noop@xpm.io"},"repository":{"type":"git","url":"git://github.com/socialally/browser-assert.git"},"main":"lib/assert.js","devDependencies":{"browser-sync":"~2.8.2","browserify":"~11.0.1","chai":"~3.2.0","del":"~1.2.0","gulp":"~3.9.0","gulp-eslint":"~1.0.0","gulp-istanbul-report":"0.0.1","gulp-mocha-phantomjs":"~0.8.1","gulp-size":"~1.2.1","gulp-sourcemaps":"~1.5.2","gulp-uglify":"~1.2.0","gulp-util":"~3.0.4","istanbul":"~0.3.6","merge":"~1.2.0","mocha":"~2.2.5","mocha-phantomjs-istanbul":"~0.0.2","require-dir":"~0.3.0","run-sequence":"~1.1.2","vinyl-buffer":"~1.0.0","vinyl-source-stream":"~1.1.0"},"scripts":{"docs":"npm run readme","readme":"mdp --force -v","start":"gulp start","lint":"gulp lint","clean":"gulp clean","spec":"gulp spec","instrument":"istanbul instrument --output instrument lib/","cover":"npm run instrument && gulp cover","test":"gulp test"},"mdp":{"title":"Assert","pedantic":true,"include":"doc/readme","require":"lib","links":"links.md","toc":"Table of Contents","base":"https://github.com/socialally/browser-assert","partial":[{"ref":"stability","format":"> `Stability: %s`"},{"inc":"introduction.md"},{"req":"assert.js","type":"code","language":"javascript"},{"inc":["install.md","developer.md","license.md"]}]},"gitHead":"cdfac0f2df237c04e4c13fdef0da5b20f81cfe1d","bugs":{"url":"https://github.com/socialally/browser-assert/issues"},"homepage":"https://github.com/socialally/browser-assert#readme","_id":"browser-assert@1.2.1","_shasum":"9aaa5a2a8c74685c2ae05bfe46efd606f068c200","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"anonymous","email":"freeformsystems@gmail.com"},"maintainers":[{"name":"anonymous","email":"freeformsystems@gmail.com"}],"dist":{"shasum":"9aaa5a2a8c74685c2ae05bfe46efd606f068c200","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/browser-assert/-/browser-assert-1.2.1.tgz","integrity":"sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZzxshuKPwSnvcgqkNT4P1OcistdZjxJhgYlQNmDEshAiB1lND7+jmGHUSq+EC3JyOq1idNcBzXUvmrNJ6ovBWWTw=="}]},"contributors":[]}},"dist-tags":{"latest":"1.2.1"},"name":"browser-assert","time":{"modified":"2025-12-06T18:43:23.454Z","created":"2022-01-26T22:26:24.084Z","1.0.1":"2015-03-27T03:04:44.382Z","1.1.0":"2015-08-08T08:20:11.458Z","1.1.1":"2015-08-08T14:17:31.401Z","1.2.0":"2015-08-18T07:40:06.898Z","1.2.1":"2015-08-24T08:26:19.709Z"},"readme":"Table of Contents\n=================\n\n* [Assert](#assert)\n  * [Install](#install)\n  * [Developer](#developer)\n    * [Test](#test)\n    * [Start](#start)\n    * [Cover](#cover)\n    * [Lint](#lint)\n    * [Clean](#clean)\n    * [Spec](#spec)\n    * [Instrument](#instrument)\n    * [Readme](#readme)\n  * [License](#license)\n\nAssert\n======\n\n> `Stability: stable`.\n\nFeatherwight `assert` function for the browser and [node](http://nodejs.org) designed to work with [browserify](http://browserify.org).\n\n```javascript\nfunction assert(expr, message) {\n  if(!Boolean(expr)) {\n    throw new Error(message || 'unknown assertion error');\n  }\n}\n```\n\n## Install\n\n```\nnpm i browser-assert --save\n```\n\n## Developer\n\nDeveloper workflow is via [gulp](http://gulpjs.com) but should be executed as `npm` scripts to enable shell execution where necessary.\n\n### Test\n\nRun the headless test suite using [phantomjs](http://phantomjs.org):\n\n```\nnpm test\n```\n\nTo run the tests in a browser context open [test/index.html](https://github.com/socialally/browser-assert/blob/master/test/index.html) or use the server `npm start`.\n\n### Start\n\nServe the test files from a web server with:\n\n```\nnpm start\n```\n\n### Cover\n\nRun the test suite and generate code coverage:\n\n```\nnpm run cover\n```\n\n### Lint\n\nRun the source tree through [eslint](http://eslint.org):\n\n```\nnpm run lint\n```\n\n### Clean\n\nRemove generated files:\n\n```\nnpm run clean\n```\n\n### Spec\n\nCompile the test specifications:\n\n```\nnpm run spec\n```\n\n### Instrument\n\nGenerate instrumented code from `lib` in `instrument`:\n\n```\nnpm run instrument\n```\n\n### Readme\n\nGenerate the project readme file (requires [mdp](https://github.com/freeformsystems/mdp)):\n\n```\nnpm run readme\n```\n\n## License\n\nEverything is [MIT](http://en.wikipedia.org/wiki/MIT_License). Read the [license](https://github.com/socialally/browser-assert/blob/master/LICENSE) if you feel inclined.\n\nGenerated by [mdp(1)](https://github.com/freeformsystems/mdp).\n\n[node]: http://nodejs.org\n[npm]: http://www.npmjs.org\n[gulp]: http://gulpjs.com\n[phantomjs]: http://phantomjs.org\n[browserify]: http://browserify.org\n[eslint]: http://eslint.org\n[mdp]: https://github.com/freeformsystems/mdp","users":{}}