{"id":13682520,"url":"https://github.com/project-nv/night-vision","last_synced_at":"2025-04-04T12:06:12.223Z","repository":{"id":63103718,"uuid":"562749305","full_name":"project-nv/night-vision","owner":"project-nv","description":"Highly customizable charting library, created for professional traders","archived":false,"fork":false,"pushed_at":"2024-06-29T20:03:51.000Z","size":14908,"stargazers_count":276,"open_issues_count":36,"forks_count":63,"subscribers_count":29,"default_branch":"main","last_synced_at":"2025-03-28T11:09:11.135Z","etag":null,"topics":["candlestick","chart","charts","financial","javascript","svelte","timeseries"],"latest_commit_sha":null,"homepage":"https://nightvision.dev","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/project-nv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-11-07T07:13:13.000Z","updated_at":"2025-03-28T10:38:21.000Z","dependencies_parsed_at":"2024-08-02T13:37:11.272Z","dependency_job_id":null,"html_url":"https://github.com/project-nv/night-vision","commit_stats":{"total_commits":153,"total_committers":7,"mean_commits":"21.857142857142858","dds":0.2287581699346405,"last_synced_commit":"f1429565a89a545fdb5e728a56f6f2753fc1fbf3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-nv%2Fnight-vision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-nv%2Fnight-vision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-nv%2Fnight-vision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-nv%2Fnight-vision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-nv","download_url":"https://codeload.github.com/project-nv/night-vision/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174415,"owners_count":20896078,"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":["candlestick","chart","charts","financial","javascript","svelte","timeseries"],"created_at":"2024-08-02T13:01:47.448Z","updated_at":"2025-04-04T12:06:12.202Z","avatar_url":"https://github.com/project-nv.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n\n![PepeNV](https://github.com/project-nv/night-vision/blob/main/docs/docs/public/nv-banner.jpeg?raw=true)\n\n\u003cdiv align=\"center\"\u003e\n\n![npm](https://img.shields.io/npm/v/night-vision.svg?color=brightgreen\u0026label=version) ![license](https://img.shields.io/badge/license-MIT-blue.svg) ![build](https://img.shields.io/badge/build-passing-brightgreen.svg)\n\n\u003c/div\u003e\n\n# \u003ccenter\u003e Night Vision Charts™ \u003c/center\u003e\n\n**NightVision** is a highly customizable charting library, created for professional traders. It is a continuation of [TradingVueJS](https://github.com/tvjsx/trading-vue-js) project, borrowing its core ideas, but applying better design decisions and improving performance. Built with Svelte.   \n\nStart your charting journey with our interactive [**[DOCS]**](https://nightvision.dev/guide/intro/night-vision-charts.html).\n\n![Screen](https://raw.githubusercontent.com/project-nv/night-vision/main/docs/docs/public/screen.png)\n\n## Installation\n\n```sh\nnpm i night-vision\n```\n\n## Usage\n\n```js\n\nimport { NightVision } from 'night-vision'\n\nlet chart = new NightVision('\u003croot-element-id\u003e')\n\n// Generate some random data\nfunction data() {\n    return Array(30).fill(1).map((x, i) =\u003e [\n        new Date(`${i+1} Nov 2022 GMT+0000`).getTime(),\n        i * Math.random()\n    ])\n}\n\n// Set the dataset\nchart.data = {\n    panes: [{\n        overlays: [{\n            name: 'APE Stock',\n            type: 'Spline',\n            data: data(),\n            settings: {\n                precision: 2\n            }\n        }]\n    }]\n}\n```\n\n## Roadmap\n\n- ~~Add stocks support (Index-Based mode)~~\n- ~~Improve the layout: x/y axis calculation~~\n- ~~Expand the built-in overlay collection~~\n- ~~Add keyboard \u0026 mouse events~~\n- ~~Port the script system from TVJS~~\n- ~~Create a built-in indicator collection~~\n- NavyJS tutorial\n- Data API (the high-level API)\n- *Add tool overlays* ???\n- *Toolbar* ??? \n- Mobile support\n\n\n\u003cdiv align=\"center\"\u003e\n\nHappy charting!\n\n\u003cimg src=\"https://raw.githubusercontent.com/project-nv/night-vision/main/docs/docs/public/wink.gif\" alt=\"wink\" width=\"64\"/\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-nv%2Fnight-vision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-nv%2Fnight-vision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-nv%2Fnight-vision/lists"}