{"library":"jsc-safe-url","type":"library","category":null,"description":"jsc-safe-url is a specialized utility package designed to address a specific behavior in JavaScriptCore (JSC) where query strings and URL fragments are stripped from source URLs when they appear in error stacks. This sanitization can obscure vital debugging information, particularly in environments like React Native that rely on JSC. The package provides three core functions: `toJscSafeUrl` to encode query string data into the URL's path component using a unique `//&` delimiter, `toNormalUrl` to reverse this process and restore the original URL, and `isJscSafeUrl` to check if a URL is currently in the JSC-safe format. This functionality is crucial for implementing proposals like React Native Community RFC0646. The current stable version is 0.2.4. Due to its niche focus on a specific browser engine quirk, its release cadence is typically slow and driven by upstream changes in JSC or React Native's needs, rather than frequent feature additions. Its key differentiator is its precise, targeted solution for this particular JSC URL handling problem.","language":"javascript","status":"active","version":"0.2.4","tags":["javascript","javascriptcore","metro","react-native","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install jsc-safe-url","imports":["import { toJscSafeUrl } from 'jsc-safe-url';","import { toNormalUrl } from 'jsc-safe-url';","import { isJscSafeUrl } from 'jsc-safe-url';"]},{"cmd":"yarn add jsc-safe-url","imports":[]},{"cmd":"pnpm add jsc-safe-url","imports":[]}],"homepage":null,"github":"https://github.com/robhogan/jsc-safe-url","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jsc-safe-url","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/jsc-safe-url/compatibility"}}