@deeplink-devtools/core
v0.1.0
Published
Route-table model, matchers, and validators for React Native deep-link tooling. Pure TypeScript, no React Native dependency.
Maintainers
Readme
@deeplink-devtools/core
The pure TypeScript core behind react-native-deeplink-devtools: the route-table data model, URL matchers, and the universal-link (AASA) and Android App Links (assetlinks.json) validators. It has no React Native dependency, so it runs anywhere, including the CLI and CI.
Most people want the rndl CLI, not this package directly. Reach for core when you are building
your own tooling on top of the route model or the validators.
Install
npm install @deeplink-devtools/coreWhat is inside
- Route model:
RouteTable,Route,Param,Diagnostic. - Validators:
validateAasaandvalidateAssetlinks, pure functions over aFetchedDocumentseam (the CLI does the network fetch), plustoSariffor a SARIF 2.1.0 report. - URL building:
buildRouteUrl,normalizePrefix. - Dev-transport protocol:
parseReporterMessageand the reporter message types shared by the CLI and theruntimepackage.
Every export is documented with TSDoc. See vengalath.com/npm/react-native-deeplink-devtools/packages for the package reference and the root README for the full toolkit.
