{"_id":"@8hobbies/irr","_rev":"6-99abd6d14bbf1995b6311ad513054d0d","name":"@8hobbies/irr","dist-tags":{"latest":"3.0.5"},"versions":{"3.0.4":{"name":"@8hobbies/irr","version":"3.0.4","description":"Computing the internal rate of return and net present value of a series of cash flows.","main":"dist/index.js","type":"module","types":"dist/index.d.ts","scripts":{"clean":"tsc --build --clean","compile":"tsc --project tsconfig.json && tsc --project tsconfig.test.json","coverage":"jest --coverage","doc":"typedoc","format":"eslint --fix *.ts *.mjs *.cjs && prettier . --write","lint":"eslint *.ts *.mjs *.cjs . && prettier . --check","prepack":"npm run clean && npm run compile","test":"npm run compile && npm run coverage","test-all":"npm run compile && npm run lint && npm run test && npm run doc"},"repository":{"type":"git","url":"git+https://gitlab.com/8hobbies/irr.git"},"keywords":["finance"],"author":{"name":"Hong Xu"},"license":"Apache-2.0","bugs":{"url":"https://gitlab.com/8hobbies/irr/issues"},"homepage":"https://irr.8hobbies.com","devDependencies":{"@8hobbies/eslint-conf-baseline":"^1.0.1","@8hobbies/typedoc-plugin-404":"^1.0.2","@babel/preset-env":"^7.24.0","@babel/preset-typescript":"^7.23.3","@jest/globals":"^29.7.0","@types/node":"^20.11.29","@typescript-eslint/eslint-plugin":"^6.21.0","eslint":"^8.57.0","eslint-plugin-import":"^2.29.1","eslint-plugin-n":"^16.6.2","eslint-plugin-promise":"^6.1.1","jest":"^29.7.0","prettier":"^3.2.5","ts-node":"^10.9.2","typedoc":"^0.25.12","typescript":"^5.4.2"},"dependencies":{"ml-matrix":"^6.11.0"},"_id":"@8hobbies/irr@3.0.4","gitHead":"9a0cb2a8abb3b05f80d8f734320a391a6f4dad58","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-szeHIP09u7zTembIWswghcdwomCSy6tDssS31V6i6e8jnRcFY1DF36HuWuFvksI2LpGA4+RsYPeexTja7fp28w==","shasum":"aa64687831cb079f4dac4add9ac61cc79caa83df","tarball":"https://registry.npmjs.org/@8hobbies/irr/-/irr-3.0.4.tgz","fileCount":5,"unpackedSize":20127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgx1/Z3QKa5rEn8WdYR0D7uaObPn6AQNlSYtridr5tQwIgJvm5Ki0oev0DB+x58bcjKWYwK2Id0hCJIeFv9cmYGxs="}]},"_npmUser":{"name":"hong-xu","email":"hong@topbug.net"},"directories":{},"maintainers":[{"name":"hong-xu","email":"hong@topbug.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/irr_3.0.4_1710821953745_0.7453839118328955"},"_hasShrinkwrap":false},"3.0.5":{"name":"@8hobbies/irr","version":"3.0.5","description":"Computing the internal rate of return and net present value of a series of cash flows.","main":"dist/index.js","type":"module","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist/","compile":"tsc --project tsconfig.json && tsc --project tsconfig.test.json","coverage":"jest --coverage","doc":"typedoc && replace-in-files --string '=\"assets/' --replacement '=\"/assets/' docs/404.html","format":"eslint --fix *.ts *.mjs *.cjs && prettier . .gitlab-ci.yml --write","lint":"eslint *.ts *.mjs *.cjs . && prettier . .gitlab-ci.yml --check","prepack":"npm run clean && npm run compile","test":"npm run compile && npm run coverage","test-all":"npm run compile && npm run lint && npm run test && npm run doc"},"repository":{"type":"git","url":"git+https://gitlab.com/8hobbies/irr.git"},"keywords":["finance","irr","npv"],"author":{"name":"8 Hobbies, LLC"},"license":"Apache-2.0","bugs":{"url":"https://gitlab.com/8hobbies/irr/issues"},"homepage":"https://irr.8hob.io","devDependencies":{"@8hobbies/eslint-conf-baseline":"^2.1.0","@8hobbies/typedoc-plugin-404":"^2.0.2","@8hobbies/typedoc-plugin-plausible":"^1.0.2","@babel/preset-env":"^7.24.4","@babel/preset-typescript":"^7.24.1","@jest/globals":"^29.7.0","@types/node":"^20.12.5","globals":"^15.0.0","jest":"^29.7.0","prettier":"^3.2.5","replace-in-files-cli":"^2.2.0","rimraf":"^5.0.5","ts-node":"^10.9.2","typedoc":"^0.25.13","typescript":"^5.4.4"},"dependencies":{"ml-matrix":"^6.11.0"},"_id":"@8hobbies/irr@3.0.5","gitHead":"54059159e488da5fd53bd7d22f5ef375d18bc8f1","_nodeVersion":"20.12.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-TpMaL3ZAOlrV/Z3SL47uzPuSO1Wy/Qj+fpRRq7AP18qTubdldFRZkkdJitsODK8t//frJIhARYO1siK1QgeM8w==","shasum":"e68c78ea3768b2d3ca431ba7458ec837ac59580c","tarball":"https://registry.npmjs.org/@8hobbies/irr/-/irr-3.0.5.tgz","fileCount":5,"unpackedSize":20525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuVFGHe7GgzKgohPwXMXu5Ol9WzL8B6WpxvAND4KoOWAiAnVwt9ga2r+LNUZflQPEDd8NI3MxxARedX5RzZ6n6OMw=="}]},"_npmUser":{"name":"hong-xu","email":"hong@topbug.net"},"directories":{},"maintainers":[{"name":"hong-xu","email":"hong@topbug.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/irr_3.0.5_1712996794452_0.9077315012676423"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-16T02:26:49.419Z","3.0.2":"2024-03-16T02:26:49.729Z","modified":"2024-04-18T20:08:09.766Z","3.0.3":"2024-03-18T06:29:15.312Z","3.0.4":"2024-03-19T04:19:13.909Z","3.0.5":"2024-04-13T08:26:34.632Z"},"maintainers":[{"email":"hong@8hobbies.com","name":"8hobbies-bot"},{"email":"hong@topbug.net","name":"hong-xu"}],"description":"Computing the internal rate of return and net present value of a series of cash flows.","homepage":"https://irr.8hob.io","keywords":["finance","irr","npv"],"repository":{"type":"git","url":"git+https://gitlab.com/8hobbies/irr.git"},"author":{"name":"8 Hobbies, LLC"},"bugs":{"url":"https://gitlab.com/8hobbies/irr/issues"},"license":"Apache-2.0","readme":"# IRR -- A JS Library that Computes IRR and NPV\n\n[![npm version](https://badge.fury.io/js/@8hobbies%2Firr.svg)](https://badge.fury.io/js/@8hobbies%2Firr)\n[![pipeline status](https://gitlab.com/8hobbies/irr/badges/master/pipeline.svg)](https://gitlab.com/8hobbies/irr/-/commits/master)\n[![coverage report](https://gitlab.com/8hobbies/irr/badges/master/coverage.svg)](https://gitlab.com/8hobbies/irr/-/commits/master)\n\n[GitLab](https://gitlab.com/8hobbies/irr) | [GitHub](https://github.com/8hobbies/irr)\n\nA JavaScript/TypeScript library that computes [Internal Rate of Return (IRR)][] and [Net Present\nValue (NPV)][]. The package provides two functions: `computeIrr` and `computeNpv`. Please refer to\nthe [online documentation][] or code comment in index.ts for detail.\n\n## Contributing\n\nSource code is available on [GitLab][source code].\n\nTo report a bug, visit the [issue tracker][].\n\nTo run test, run `npm run test-all`. To display test coverage, run `npm run coverage`. To build for\nproduction, run `npm pack`. To build the documentation, run `npm run doc`.\n\nTo send your contribution, open a [merge request][].\n\n## License\n\n```text\nCopyright 2023-2024 Hong Xu <hong@8hobbies.com>\n\nLicensed under the Apache License, Version 2.0(the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n[Internal Rate of Return (IRR)]: https://en.wikipedia.org/wiki/Internal_rate_of_return\n[Net Present Value (NPV)]: https://en.wikipedia.org/wiki/Net_present_value\n[issue tracker]: https://gitlab.com/8hobbies/irr/issues\n[merge request]: https://gitlab.com/8hobbies/irr/-/merge_requests\n[online documentation]: https://irr.8hob.io/modules.html\n[source code]: https://gitlab.com/8hobbies/irr\n","readmeFilename":"README.md"}