{"_id":"ampersand-version","_rev":"10-2a4c25b773d468c152702ffb0c995def","name":"ampersand-version","time":{"modified":"2022-06-13T02:46:19.331Z","created":"2014-10-22T21:14:25.282Z","1.0.0":"2014-10-22T21:14:25.282Z","1.0.1":"2014-10-22T21:16:46.317Z","1.0.2":"2014-11-05T17:05:12.156Z"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist-tags":{"latest":"1.0.2"},"description":"Transform for making it easy to include version numbers of used ampersand modules.","readme":"# ampersand-version\n\n* Add ampersand-version to `\"dependencies\"` in package.json\n* Add browserify transform as per below:\n\n```json\n{\n    \"name\": \"some-ampersand-module\",\n    \"dependencies\": {\n        \"ampersand-version\": \"^1.0.1\"\n    },\n    \"browserify\": {\n        \"transform\": [\"ampersand-version\"]\n    }\n}\n```\n\n* Add `/*$AMPERSAND_VERSION*/` to the top of the module's main file.\n\n## why?\n\nNow it will use a browserifiy transform to create if necessary and add it's version to the `window.ampersand` just for reporting purposes. \n\nNow you can open the console on any ampersand site and see what ampersand modules it's using:\n\n![ampersand-version-demo](https://i.cloudup.com/B8SuBDceTH-3000x3000.png)\n\n\n## license\n\nMIT\n","versions":{"1.0.1":{"name":"ampersand-version","description":"Transform for making it easy to include version numbers of used ampersand modules.","version":"1.0.1","author":{"name":"Philip Roberts","email":"phil@latentflip.com"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-version/issues"},"dependencies":{"find-root":"^0.1.1","through2":"^0.6.3"},"homepage":"https://github.com/ampersandjs/ampersand-version","keywords":["util","ampersand"],"license":"MIT","main":"ampersand-version.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-version.git"},"gitHead":"63ca7b91483fd24442cf2f8f585801ef83937141","_id":"ampersand-version@1.0.1","scripts":{},"_shasum":"d2d26cb053a5f1f2c21e86f97454f9601c157b73","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"dist":{"shasum":"d2d26cb053a5f1f2c21e86f97454f9601c157b73","tarball":"https://registry.npmjs.org/ampersand-version/-/ampersand-version-1.0.1.tgz","integrity":"sha512-9+HjL4qEjbSPJw1H269waWoidjpuGwd14EF31Y99/qy4MHK5f22GrrlrutIE6um/AgRSSRWI8QEaT5/QuSl2pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGN7kuezd5guhMYbSS7tgCbO81Z/e+E1I/AUCxjLe2kFAiEAvjlJeVciNDyjvmNH0UFgM3gzVcILJzoImETvldCaObA="}]}},"1.0.2":{"name":"ampersand-version","description":"Transform for making it easy to include version numbers of used ampersand modules.","version":"1.0.2","author":{"name":"Philip Roberts","email":"phil@latentflip.com"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-version/issues"},"dependencies":{"find-root":"^0.1.1","through2":"^0.6.3"},"homepage":"https://github.com/ampersandjs/ampersand-version","keywords":["util","ampersand"],"license":"MIT","main":"ampersand-version.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-version.git"},"gitHead":"9445e841eb8e8fd6d0ddc6d7f37271ab41a71137","_id":"ampersand-version@1.0.2","scripts":{},"_shasum":"ff8f3d4ceac4d32ccd83f6bd6697397f7b59e2c0","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.28","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"ff8f3d4ceac4d32ccd83f6bd6697397f7b59e2c0","tarball":"https://registry.npmjs.org/ampersand-version/-/ampersand-version-1.0.2.tgz","integrity":"sha512-FVVLY7Pghtgc8pQl0rF3A3+OS/CZ+/ILLMIYIaO1cA9v5SRkainqUMfSot3fu32svuThIsYK3q9iCsH9W5+mWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC18OlrAd60ebY0+8T0Ff5xrAndffr06gFQq4kGAlglPQIhANZGyBaM2HiC5MRfPs2/gVhZiX6W8wHWdUWgmdCThKu8"}]}}},"homepage":"https://github.com/ampersandjs/ampersand-version","keywords":["util","ampersand"],"repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-version.git"},"author":{"name":"Philip Roberts","email":"phil@latentflip.com"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-version/issues"},"license":"MIT","readmeFilename":"README.md"}