{"name":"ejs-map-libs","version":"0.0.2","description":"map all static libs, add them as script tags to your ejs template","main":"index.js","repository":{"type":"git","url":"git+https://github.com/TinkGu/ejs-map-libs.git"},"keywords":["ejs","static","customize tag"],"author":{"name":"TinkGu"},"license":"MIT","homepage":"https://github.com/TinkGu/ejs-map-libs#readme","gitHead":"7a5a5da55ebe9b0f8f8162b6082e0e233f374cdb","bugs":{"url":"https://github.com/TinkGu/ejs-map-libs/issues"},"_id":"ejs-map-libs@0.0.2","scripts":{},"_shasum":"59c2c5edff6c32c4321d605be3738801cd63768a","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"tinkgu","email":"tlwrite@126.com"},"dist":{"shasum":"59c2c5edff6c32c4321d605be3738801cd63768a","tarball":"https://registry.npmmirror.com/ejs-map-libs/-/ejs-map-libs-0.0.2.tgz","size":855,"integrity":"sha512-ZEEbDetGz6y36p8kfdbBfzI0S/pLPJxZ3ygYAnwzD5/Jsf2q/REFPm4fcdlNhdewF3Yua/tUxb0DqKHugf/+JA=="},"maintainers":[{"name":"tinkgu","email":"tlwrite@126.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ejs-map-libs-0.0.2.tgz_1458610578284_0.7185560755897313"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:27:40.607Z","readme":"# ejs-map-libs\nMap your static libs, add them as scripts tags to your ejs template.\n\n## Installation\n> $ npm install ejs-map-libs\n\n## API\n> mapLibsTag(dirname, publicPath)\n\n- `dirname`: your libs dir, **absolute** path.\n- publicPath: a string, ``\n\n## Usage\nexpress\n```\nvar mapLibsTag = require('ejs-map-libs')\napp.use(mapLibsTag('absolute path', 'public path'))\n```\n\nejs\n```\n<% libs %>\n```\n\nlibs dir\n```\n-libs\n - aa.min.js\n - bb.min.js\n - ...\n```\n\noutput\n```\n\n\n...\n```\n\n## Note\n- please pre-install ejs, express...\n- No test.\n"}