{"id":18487094,"url":"https://github.com/zerodom30/node-rsi","last_synced_at":"2025-04-08T20:30:38.219Z","repository":{"id":41811079,"uuid":"145194344","full_name":"zerodom30/node-rsi","owner":"zerodom30","description":"Simple nodejs async RSI module","archived":false,"fork":false,"pushed_at":"2023-03-02T05:33:18.000Z","size":369,"stargazers_count":9,"open_issues_count":7,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-06T12:58:48.522Z","etag":null,"topics":["nodejs-modules","relative-strength-index","rsi","technical-analysis"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zerodom30.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-18T05:57:24.000Z","updated_at":"2024-03-18T16:24:25.000Z","dependencies_parsed_at":"2024-11-06T12:54:22.178Z","dependency_job_id":"3701ad94-f5ef-4b92-b7d7-ebf7ddae12b9","html_url":"https://github.com/zerodom30/node-rsi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerodom30%2Fnode-rsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerodom30%2Fnode-rsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerodom30%2Fnode-rsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerodom30%2Fnode-rsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerodom30","download_url":"https://codeload.github.com/zerodom30/node-rsi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247922619,"owners_count":21018831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nodejs-modules","relative-strength-index","rsi","technical-analysis"],"created_at":"2024-11-06T12:50:12.528Z","updated_at":"2025-04-08T20:30:37.813Z","avatar_url":"https://github.com/zerodom30.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"[![Coverage Status](https://coveralls.io/repos/github/zerodom30/node-rsi/badge.svg?branch=master)](https://coveralls.io/github/zerodom30/node-rsi?branch=master)\n\n# node-rsi\n\nA simple node module to calculate the Relative Strength Index and avoid JavaScript precision issues.\n\n# Usage:\n\n```\n  const data = [\n       47.61,\n       47.57,\n       48.2,\n       49.23,\n       49.25,\n       47.54,\n       47.69,\n       46.83,\n       46.03,\n       46.08,\n       46.23,\n       46.5,\n       46.26,\n       45.15\n   ];\n\n   const rsi = new RSI(data, 14);\n   const result = rsi.calculate((err, result) =\u003e {\n        if (err) {\n            return err;\n        }\n        console.log('RSI: ', result);\n        /*\n        RSI:\n\n        [\n            { value: 45.15, gain: 0, loss: 0, change: 0 },\n            { value: 46.26, change: 1.11, gain: 1.11, loss: 0 },\n            { value: 46.5, change: 0.24, gain: 0.24, loss: 0 },\n            { value: 46.23, change: -0.27, gain: 0, loss: 0.27 },\n            { value: 46.08, change: -0.15, gain: 0, loss: 0.15 },\n            { value: 46.03, change: -0.05, gain: 0, loss: 0.05 },\n            { value: 46.83, change: 0.80, gain: 0.80, loss: 0 },\n            { value: 47.69, change: 0.86, gain: 0.86, loss: 0 },\n            { value: 47.54, change: -0.15, gain: 0, loss: 0.15 },\n            { value: 49.25, change: 1.71, gain: 1.71, loss: 0 },\n            { value: 49.23, change: -0.02, gain: 0, loss: 0.02 },\n            { value: 48.2, change: -1.03, gain: 0, loss: 1.03 },\n            { value: 47.57, change: -0.63, gain: 0, loss: 0.63 },\n            { value: 47.61, change: 0.04, gain: 0.04, loss: 0 }\n        ];\n        */\n   });\n```\n\n###### Commit Message With Emoji Prefix\nSee reference [here](https://gist.github.com/parmentf/035de27d6ed1dce0b36a)\n inspiration \u0026 reference by\n  [dannyfritz/commit-message-emoji](https://github.com/dannyfritz/commit-message-emoji).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerodom30%2Fnode-rsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerodom30%2Fnode-rsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerodom30%2Fnode-rsi/lists"}