{"repo":"permafrost-dev/node-ray","free":true,"listed":false,"github":"https://github.com/permafrost-dev/node-ray","clone":"git clone https://github.com/permafrost-dev/node-ray.git","description":"Debug your NodeJS, TS & web code with Ray to understand and fix bugs faster","language":"TypeScript","stars":63,"topics":["nodejs","typescript","javascript","es6","npm-package","debugging","web-development","ray"],"license":"MIT","category":"dev-tools","readme_excerpt":"node-ray The official Node/JS & TypeScript integration for Ray - Understand and fix bugs faster. The package can be installed in any NodeJS, ES6+, or TypeScript application to send data to the Ray app. Installation Install with npm: or bun: Requirements - Node.js = 20.19 - ESM-only (CommonJS is no longer supported; use v2.x for require support) Available environments node-ray offers several options to allow you to use it in either NodeJS, Web-based TypeScript or JavaScript projects, and browser environments. If you're using NextJs/React, take a look at permafrost-dev/react-ray. If you're using Vue, check out permafrost-dev/vue-ray. NodeJS When using in a NodeJS environment (the default), import the package as you would normally: node-ray is ESM-only. CommonJS require is not supported. Browser bundle When bundling scripts for use in a Browser environment (i.e., using webpack or vite) , import the /web export: Browser standalone There are two standalone versions of node-ray available: one with axios included, and one without (slim version) . node-ray may be directly used within a web page via a script tag. The standalone version includes all required libraries, including axios. Or use the slim version (without axios) if you already have axios included in your project: Recommended Standalone Initialization As of version 2.0.0 , you no longer need to manually initialize the global ray objects; it is now performed automatically on load: Laravel Mix To use node-ray with Laravel Mix","default_branch":null,"files":null,"tree":[],"storefront":"/r/permafrost-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/permafrost-dev/node-ray/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}