{"_id":"tariff","_rev":"5-c3e453b151157ce5a72a1c205b42723c","name":"tariff","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"tariff","version":"0.1.0","author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com"},"license":"MIT","_id":"tariff@0.1.0","maintainers":[{"name":"marijn","email":"marijnh@gmail.com"}],"homepage":"https://github.com/marijnh/tariff#readme","bugs":{"url":"https://github.com/marijnh/tariff/issues"},"dist":{"shasum":"a465ed585da5b83ba387f599cd724e4d8f3f1823","tarball":"https://registry.npmjs.org/tariff/-/tariff-0.1.0.tgz","integrity":"sha512-nKnUomyTu1OXVbP6eeVRQkrHycBobbIFx/vUsCVZF8pgVQMKjTPmsbws9dYm0rTmC2dtlVL3t58VvuW6NWdMTw==","signatures":[{"sig":"MEUCIBQHXZ3hErF4hn4EPc3hFJTzHvroFjN/HADshoR3Vt3fAiEAlqFl2B5Fa8/v4v6cSXFTZvTEi3NTh4FfcDYOX9LP0jw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a465ed585da5b83ba387f599cd724e4d8f3f1823","gitHead":"76bb6603b6af3329934c9829437adfdb7f113bbd","scripts":{"test":"node test.js"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"repository":{"url":"git+ssh://git@github.com/marijnh/tariff.git","type":"git"},"_npmVersion":"2.15.1","description":"Crudely convert ES6 import/export declarations to CommonJS","_nodeVersion":"4.4.3","dependencies":{"acorn":"^3.1.0","source-map":"^0.5.3"},"_npmOperationalInternal":{"tmp":"tmp/tariff-0.1.0.tgz_1460979197587_0.9474690724164248","host":"packages-16-east.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2016-04-18T11:33:19.006Z","modified":"2025-04-08T06:08:58.636Z","0.1.0":"2016-04-18T11:33:19.006Z"},"bugs":{"url":"https://github.com/marijnh/tariff/issues"},"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com"},"license":"MIT","homepage":"https://github.com/marijnh/tariff#readme","repository":{"url":"git+ssh://git@github.com/marijnh/tariff.git","type":"git"},"description":"Crudely convert ES6 import/export declarations to CommonJS","maintainers":[{"name":"marijn","email":"marijnh@gmail.com"}],"readme":"# Tariff\n\n```\nvar tariff = import(\"tariff\")\ntariff('import {foo} from \"./bar\"\\nexport let baz = foo(1)')\n// -> 'var foo = require(\"./bar\").foo\\nlet baz = exports.baz = foo(1)'\n```\n\nIf you treat exports as values, not bindings, and don't do anything\nfancy, you can use tariff to convert ES6 `import` and `export`\ndeclarations into CommonJS equivalents.\n\nReleased under an MIT license.\n","readmeFilename":"README.md"}