{"_id":"@bignum/template-light","_rev":"8-7e348a4187703894f31738e8f8165d5d","name":"@bignum/template-light","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"@bignum/template-light","version":"0.1.0","keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"author":{"name":"Yosuke Ota"},"license":"MIT","_id":"@bignum/template-light@0.1.0","maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"dist":{"shasum":"1a8b2a72bf55de51aba09c066f885ad562aaab6f","tarball":"https://registry.npmjs.org/@bignum/template-light/-/template-light-0.1.0.tgz","fileCount":6,"integrity":"sha512-vcLVhyCw/EcR9CA5MHH0R0909qf3UMyZFeiqM87wQRPgxZTMPYnqJG5Zm4iebolw0dV/ywGIwobRhz24PNtJaQ==","signatures":[{"sig":"MEUCIQDjDVWjUNAsTVUZIR2Si3CPPmhxdyenfkV/TYf1SKjmBAIgS+j4SmVBJm0DBqGlEJ9JRP6IAxs8utiiytNvichKtZ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16515},"main":"lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=18"},"exports":{".":{"import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.cjs"}},"funding":"https://github.com/sponsors/ota-meshi","gitHead":"1b94a4ee7b2280c6e207b0db06117c390aa9aa28","scripts":{"test":"mocha --loader=ts-node/esm \"tests/src/**/*.mts\" --reporter dot --timeout 60000","build":"npm run bundle","clean":"rimraf .nyc_output lib coverage","cover":"c8 --reporter=lcov npm run test","debug":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot","bundle":"tsup","prebuild":"npm run -s clean","update-snap":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot --update"},"_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"repository":{"url":"git+https://github.com/ota-meshi/bignum.git","type":"git"},"_npmVersion":"10.5.0","description":"Write formulas with template literals.","directories":{},"_nodeVersion":"18.20.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-light_0.1.0_1716295806694_0.3887955650503647","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@bignum/template-light","version":"0.1.1","keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"author":{"name":"Yosuke Ota"},"license":"MIT","_id":"@bignum/template-light@0.1.1","maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"dist":{"shasum":"b420d41013490f1a87377c6aa3d3abbc5feec549","tarball":"https://registry.npmjs.org/@bignum/template-light/-/template-light-0.1.1.tgz","fileCount":6,"integrity":"sha512-wgiFOqBVuz6UlMunY0OvBBWMcEba8Qjlyh2r+ZyH5hiyC3Heo/8r9xWXrCINrtI3G3lzNrw+yoT/W8FyTEFdAQ==","signatures":[{"sig":"MEQCIGBMmJxqbxVRDihVbY1t1lyxYCkTH2VB3tp50k/fWmH4AiA23m92HxwhyB3HTJLeNb+Ano0Hsd0rd5cCSGbqRbfmJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16514},"main":"lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=18"},"exports":{".":{"import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.cjs"}},"funding":"https://github.com/sponsors/ota-meshi","gitHead":"1f21c2a5d05b8e62b4fb57cb1411090c849268cc","scripts":{"test":"mocha --loader=ts-node/esm \"tests/src/**/*.mts\" --reporter dot --timeout 60000","build":"npm run bundle","clean":"rimraf .nyc_output lib coverage","cover":"c8 --reporter=lcov npm run test","debug":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot","bundle":"tsup","prebuild":"npm run -s clean","update-snap":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot --update"},"_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"repository":{"url":"git+https://github.com/ota-meshi/bignum.git","type":"git"},"_npmVersion":"10.5.0","description":"Write formulas with template literals.","directories":{},"_nodeVersion":"18.20.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-light_0.1.1_1716347676314_0.3257287230981818","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@bignum/template-light","version":"0.2.0","keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"author":{"name":"Yosuke Ota"},"license":"MIT","_id":"@bignum/template-light@0.2.0","maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"dist":{"shasum":"8bf81cdf9c525bcc65c373fbf9b9a3d534b4f8ee","tarball":"https://registry.npmjs.org/@bignum/template-light/-/template-light-0.2.0.tgz","fileCount":6,"integrity":"sha512-Tp+2wT0kqYVLSiIKz1qeK4SuXJ5+3eTpJG8g1czJO+eESUFRX7/Rq/l18CcczeSJqCCpqWJyDk+3/zqYzzmiiw==","signatures":[{"sig":"MEUCIA8So2JofwSYsLKjleZ0jCLO7R3Y1/u0Pu+Qa8EZe7jVAiEA7zlpCfsOoCZUC3Vz98fXPv9aAAk/TWxOi7IJ8tnhX90=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16434},"main":"lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=18"},"exports":{".":{"import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.cjs"}},"funding":"https://github.com/sponsors/ota-meshi","gitHead":"fb6f669a9838dee0c89175b47ca6f3378f49d46f","scripts":{"test":"mocha --loader=ts-node/esm \"tests/src/**/*.mts\" --reporter dot --timeout 60000","build":"npm run bundle","clean":"rimraf .nyc_output lib coverage","cover":"c8 --reporter=lcov npm run test","debug":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot","bundle":"tsup","prebuild":"npm run -s clean","update-snap":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot --update"},"_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"repository":{"url":"git+https://github.com/ota-meshi/bignum.git","type":"git"},"_npmVersion":"10.5.0","description":"Write formulas with template literals.","directories":{},"_nodeVersion":"18.20.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-light_0.2.0_1716551854887_0.7700079031866454","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@bignum/template-light","version":"0.3.0","keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"author":{"name":"Yosuke Ota"},"license":"MIT","_id":"@bignum/template-light@0.3.0","maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"dist":{"shasum":"10f6ee1d10c3f516c6ffbd1c1f366ac0b65de25a","tarball":"https://registry.npmjs.org/@bignum/template-light/-/template-light-0.3.0.tgz","fileCount":6,"integrity":"sha512-RddPVxrKojN93kCw7N3h2XdP5YP96DHN9ZNEKmcj0mkv6L//Rfyc1MQDKHqDKQwfccEnfZlvyUGWFMPkGdu9jQ==","signatures":[{"sig":"MEUCIQDGvYOfyqN8B2Q0W8JlfgxXr1TThzdOjAKzDxO5G0uSkwIgAqUHopVVSiIOBd95JeaID2P8QoCpyr+HoFqHJQXK9ro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15952},"main":"lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=18"},"exports":{".":{"import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.cjs"}},"funding":"https://github.com/sponsors/ota-meshi","gitHead":"aa132ae74f7ce700d9cbc8c953de6c38256f35b0","scripts":{"test":"mocha --loader=ts-node/esm \"tests/src/**/*.mts\" --reporter dot --timeout 60000","build":"npm run bundle","clean":"rimraf .nyc_output lib coverage","cover":"c8 --reporter=lcov npm run test","debug":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot","bundle":"tsup","prebuild":"npm run -s clean","update-snap":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot --update","update-readme-size":"node ./scripts/gzip-size.mjs"},"_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"repository":{"url":"git+https://github.com/ota-meshi/bignum.git","type":"git"},"_npmVersion":"10.8.2","description":"Write formulas with template literals.","directories":{},"_nodeVersion":"20.18.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-light_0.3.0_1738248937733_0.015647635422238126","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@bignum/template-light","version":"1.0.0","keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"author":{"name":"Yosuke Ota"},"license":"MIT","_id":"@bignum/template-light@1.0.0","maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"dist":{"shasum":"d8098aeca805ead0d2e642d2f68fe3d0fbaf417a","tarball":"https://registry.npmjs.org/@bignum/template-light/-/template-light-1.0.0.tgz","fileCount":6,"integrity":"sha512-kEjGTjnaHOqsrsbPz41tWtfEk7KkH+Bu8+lJDLlSx8kWI/EZQ3mAQ2Zy8I3lr+lpwCgXiPy0BNWYMy7Ew0KVbQ==","signatures":[{"sig":"MEYCIQDpSpOflbNp7S3jgd8kufVtkwScFyd0szmBcJip5BQVcAIhAKikRos5XYjEsDE48qmgYicXOgFa53caQ02IBw2df45O","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15952},"main":"lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=18"},"exports":{".":{"import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.cjs"}},"funding":"https://github.com/sponsors/ota-meshi","gitHead":"77823bb9b574f5d13b3ea34ecf23fbe789f7ea77","scripts":{"test":"mocha --loader=ts-node/esm \"tests/src/**/*.mts\" --reporter dot --timeout 60000","build":"npm run bundle","clean":"rimraf .nyc_output lib coverage","cover":"c8 --reporter=lcov npm run test","debug":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot","bundle":"tsup","prebuild":"npm run -s clean","update-snap":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot --update","update-readme-size":"node ./scripts/gzip-size.mjs"},"_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"repository":{"url":"git+https://github.com/ota-meshi/bignum.git","type":"git"},"_npmVersion":"10.8.2","description":"Write formulas with template literals.","directories":{},"_nodeVersion":"20.18.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-light_1.0.0_1738335156266_0.623428377360379","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@bignum/template-light","version":"1.1.0","keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"author":{"name":"Yosuke Ota"},"license":"MIT","_id":"@bignum/template-light@1.1.0","maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"dist":{"shasum":"bd5cec2441738bf7fc3a5e3fa04197af88aecee7","tarball":"https://registry.npmjs.org/@bignum/template-light/-/template-light-1.1.0.tgz","fileCount":11,"integrity":"sha512-HYhiV/qLi5G1gKs7MsHqyQURM17pPimBw3z9dQP3xtFh2BGTDM+z70qu444nTorsGmQjfGUjPe3EAyVjZ3cYrA==","signatures":[{"sig":"MEQCIAaiwpS4dLXTb+oHR3gs3hfdPPVkRpsghmlTUUUMFAaSAiAQ0tgt2mL/WL8oHoAHFIYH+i0tnx9RNqLtyThxjNmxDQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21622},"main":"lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=18"},"exports":{".":{"import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.cjs"},"./core":{"import":"./lib/core.js","default":"./lib/core.js","require":"./lib/core.cjs"}},"funding":"https://github.com/sponsors/ota-meshi","gitHead":"3aa80276b281001bc6d7f3ffd4bb905b49744177","scripts":{"test":"mocha --loader=ts-node/esm \"tests/src/**/*.mts\" --reporter dot --timeout 60000","build":"npm run bundle","clean":"rimraf .nyc_output lib coverage","cover":"c8 --reporter=lcov npm run test","debug":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot","bundle":"tsup","prebuild":"npm run -s clean","update-snap":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot --update","update-readme-size":"node ./scripts/gzip-size.mjs"},"_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"repository":{"url":"git+https://github.com/ota-meshi/bignum.git","type":"git"},"_npmVersion":"10.8.2","description":"Write formulas with template literals.","directories":{},"_nodeVersion":"20.18.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-light_1.1.0_1738461130627_0.3440791914633099","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@bignum/template-light","version":"1.2.0","keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"author":{"name":"Yosuke Ota"},"license":"MIT","_id":"@bignum/template-light@1.2.0","maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"dist":{"shasum":"3e55d07d1bf967f4d3b2f01b9d679f351fae9e58","tarball":"https://registry.npmjs.org/@bignum/template-light/-/template-light-1.2.0.tgz","fileCount":13,"integrity":"sha512-6vCkVPpJ2PaHb8zfFnV9vjwxVDnjz5n6BZhvPzrJxLwIbSeXjqC/nZuNReQ9+8Cs0hLJ30/xXWO+K6cVsfWYNg==","signatures":[{"sig":"MEQCICR2TEGiwv7DD5y0J3Sa2fsOmVI9uKqiE9ffSD7ynxQ9AiAC/PqVx/NhwLUREWnuFBw9Y/YNZXJ4F4EJXzLU08SzbQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bignum%2ftemplate-light@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24032},"main":"lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=18"},"exports":{".":{"import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.cjs"},"./core":{"import":"./lib/core.js","default":"./lib/core.js","require":"./lib/core.cjs"}},"funding":"https://github.com/sponsors/ota-meshi","gitHead":"308fb46de1b9fac78c0b1c2b8408e8236d8de8fd","scripts":{"test":"mocha --loader=ts-node/esm \"tests/src/**/*.mts\" --reporter dot --timeout 60000","build":"npm run bundle","clean":"rimraf .nyc_output lib coverage","cover":"c8 --reporter=lcov npm run test","debug":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot","bundle":"tsup","prebuild":"npm run -s clean","update-snap":"mocha --loader=ts-node/esm/transpile-only \"tests/src/**/*.mts\" --reporter dot --update","update-readme-size":"node ./scripts/gzip-size.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c4d133f6-dfd0-4355-bee8-5d68f0f0a105"}},"repository":{"url":"git+https://github.com/ota-meshi/bignum.git","type":"git"},"_npmVersion":"11.11.0","description":"Write formulas with template literals.","directories":{},"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/template-light_1.2.0_1775702755777_0.3337074756815548","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@bignum/template-light","version":"2.0.0","description":"Write formulas with template literals.","type":"module","main":"lib/index.js","exports":{".":{"import":"./lib/index.js","require":"./lib/index.cjs","default":"./lib/index.js"},"./core":{"import":"./lib/core.js","require":"./lib/core.cjs","default":"./lib/core.js"}},"engines":{"node":">=20"},"scripts":{"prebuild":"npm run -s clean","build":"npm run bundle","bundle":"tsdown","clean":"rimraf .nyc_output lib coverage","test":"node --import @oxc-node/core/register ../../node_modules/mocha/bin/mocha.js \"tests/src/**/*.mts\" --reporter dot --timeout 60000","cover":"c8 --reporter=lcov npm run test","debug":"node --import @oxc-node/core/register ../../node_modules/mocha/bin/mocha.js \"tests/src/**/*.mts\" --reporter dot","type-check":"tsc --noEmit","update-snap":"node --import @oxc-node/core/register ../../node_modules/mocha/bin/mocha.js \"tests/src/**/*.mts\" --reporter dot --update","update-readme-size":"node ./scripts/gzip-size.mjs"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/ota-meshi/bignum.git"},"keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"author":{"name":"Yosuke Ota"},"funding":"https://github.com/sponsors/ota-meshi","license":"MIT","bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","dependencies":{},"devDependencies":{},"gitHead":"89f3bbad12af7e284fd4626715d607de94f083f0","types":"./lib/index.d.ts","_id":"@bignum/template-light@2.0.0","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-IlOz6jLo3fKgu5oEO5+y5BaeufvXqlqpNEDnxD60xD3N9DVNjb05ENe2/vfK2lPSNNxq50aG71nxhAoShDkkqA==","shasum":"f3de410ced2b8b3b544d457151ce89c4b54148d5","tarball":"https://registry.npmjs.org/@bignum/template-light/-/template-light-2.0.0.tgz","fileCount":12,"unpackedSize":20901,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bignum%2ftemplate-light@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGLBX1yj+M/LNOamUf/XB6vfNBy73/iqhJtvnUh/EsOxAiEA6hvYsgjTxhQ0l36lcPA7Vvycrq6cK8xHVWGgWrtOldc="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c4d133f6-dfd0-4355-bee8-5d68f0f0a105"}},"directories":{},"maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/template-light_2.0.0_1775822201467_0.42506137766613006"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-21T12:50:06.558Z","modified":"2026-04-10T11:56:41.842Z","0.1.0":"2024-05-21T12:50:06.847Z","0.1.1":"2024-05-22T03:14:36.478Z","0.2.0":"2024-05-24T11:57:35.021Z","0.3.0":"2025-01-30T14:55:37.917Z","1.0.0":"2025-01-31T14:52:36.479Z","1.1.0":"2025-02-02T01:52:10.802Z","1.2.0":"2026-04-09T02:45:55.929Z","2.0.0":"2026-04-10T11:56:41.575Z"},"bugs":{"url":"https://github.com/ota-meshi/bignum/issues"},"author":{"name":"Yosuke Ota"},"license":"MIT","homepage":"https://github.com/ota-meshi/bignum/tree/main/packages/template-light#readme","keywords":["bignum","bigdecimal","arbitrary-precision","arbitrary","precision","arithmetic","big","number","decimal","float","biginteger","bignumber","bigint","formula","template-literal"],"repository":{"type":"git","url":"git+https://github.com/ota-meshi/bignum.git"},"description":"Write formulas with template literals.","maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"readme":"# @bignum/template-light\n\nWrite formulas with template literals. (**light version**)\n\nThis is the light version of [@bignum/template]. It has significantly more limited functionality than [@bignum/template], but is much smaller.\n\n[@bignum/template]: ../template/README.md\n\n[![NPM license](https://img.shields.io/npm/l/@bignum/template-light.svg)](https://www.npmjs.com/package/@bignum/template-light)\n[![NPM version](https://img.shields.io/npm/v/@bignum/template-light.svg)](https://www.npmjs.com/package/@bignum/template-light)\n[![NPM downloads](https://img.shields.io/badge/dynamic/json.svg?label=downloads&colorB=green&suffix=/day&query=$.downloads&uri=https://api.npmjs.org//downloads/point/last-day/@bignum/template-light&maxAge=3600)](http://www.npmtrends.com/@bignum/template-light)\n[![NPM downloads](https://img.shields.io/npm/dw/@bignum/template-light.svg)](http://www.npmtrends.com/@bignum/template-light)\n[![NPM downloads](https://img.shields.io/npm/dm/@bignum/template-light.svg)](http://www.npmtrends.com/@bignum/template-light)\n[![NPM downloads](https://img.shields.io/npm/dy/@bignum/template-light.svg)](http://www.npmtrends.com/@bignum/template-light)\n[![NPM downloads](https://img.shields.io/npm/dt/@bignum/template-light.svg)](http://www.npmtrends.com/@bignum/template-light)\n\n## 🚀 Features\n\n- You can write formulas with template literals.\\\n  (`` f`${0.3} - ${0.1}` `` is easier to read than a statement like `new MyNum(0.3).minus(0.1)`.)\n- Prevent rounding errors by calculating with rational numbers using BigInt.\n- It has no dependencies and can be minified to <span class=\"minified-size\"> 2.6 KB (Minified and gzipped: 1.2 KB) </span>.\n- You can pre-compile expressions using [@bignum/babel-plugin], which reduces the runtime library size to <span class=\"core-minified-size\"> 1.1 KB (Minified and gzipped: 0.5 KB) </span>.\n- Repeated calls from the same tagged template callsite reuse the compiled expression at runtime.\n\n> Note that although no rounding is performed during calculations, the calculation results are returned to `Number`, so values that cannot be held by `Number` may be rounded.\n>\n> If you want more operations and more rounding avoidance, consider using [@bignum/template].\n\n## 💿 Installation\n\n```bash\nnpm install @bignum/template-light\n```\n\n## 📖 Usage\n\n```js\nimport { f } from \"@bignum/template-light\";\n\nconst result = f`${0.1} + ${0.1} * ${2}`;\nconsole.log(result); // 0.3\n\n// Prevent rounding errors by calculating with rational numbers using BigInt.\nconsole.log(f`${0.2} + ${0.1}`); // 0.3\nconsole.log(0.2 + 0.1); // 0.30000000000000004\n```\n\n## 🧮 API\n\n### f\n\nPerform calculations using template literals.\n\nExample:\n\n```js\nimport { f } from \"@bignum/template-light\";\n\nconsole.log(f`${0.1} + ${0.2}`); // 0.3\n```\n\nRepeated evaluation from the same tagged template callsite reuses the compiled expression. Different callsites are cached independently.\n\n## 📝 Supported Syntax\n\n### Operators\n\nThe following operators are supported:\n\n```js\n/* Arithmetic Operators */\n// add\nf`${0.1} + ${0.2}`; // 0.3\n// subtract\nf`${0.3} - ${0.1}`; // 0.2\n// multiply\nf`${0.07} * ${100}`; // 7\n// divide\nf`${0.6} / ${0.2}`; // 3\n// modulo\nf`${0.6} % ${0.2}`; // 0\n\n/* Parentheses */\nf`(${0.1} + ${0.2}) * ${10}`; // 3\nf`${0.1} + ${0.2} * ${10}`; // 2.1\n```\n\n### Operand\n\nSubstitutions in the template literal are treated as operands.\n\n```js\nf`${0.2} + ${0.1}`; // 0.3\n```\n\n[@bignum/babel-plugin]: ../babel-plugin/README.md\n","readmeFilename":"README.md"}