{"name":"ejs-map-libs","version":"0.0.1","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":"a1c6f3ef45e04c5629f556157eadcec99355b6fa","bugs":{"url":"https://github.com/TinkGu/ejs-map-libs/issues"},"_id":"ejs-map-libs@0.0.1","scripts":{},"_shasum":"eb56fd147a7e7aa8400d1973e5d39873ba92b7e1","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"tinkgu","email":"tlwrite@126.com"},"dist":{"shasum":"eb56fd147a7e7aa8400d1973e5d39873ba92b7e1","tarball":"https://registry.npmmirror.com/ejs-map-libs/-/ejs-map-libs-0.0.1.tgz","size":885,"integrity":"sha512-qsvDgz/wSMfnmp1l6qmGcbgwHWPTtor0/le8wmMgnGTM3q89I5+iGc3R0ww5J1l0of54YtHoSgV977+gTigxjQ=="},"maintainers":[{"name":"tinkgu","email":"tlwrite@126.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/ejs-map-libs-0.0.1.tgz_1458559425360_0.5897854983340949"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:27:39.726Z","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"}