Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

google/asset-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Asset Check

Check your assetlinks.json file for associations, ensuring you're configured correctly.

This is not an official Google product.

Install

Install the node dependencies and link the executable:

npm install npm link 

Usage

If you've linked the package you can use:

asset-check <filename> # check a file asset-check <url> # check a url asset-check -u <useragent> <url> # check a url with a specific useragent asset-check -d <url> # (debug mode) check a url 

Or in your install directory:

./run.js <filename> # check a file ./run.js <url> # check a url ./run.js -d <useragent> <url> # check a url with a specific useragent 

Examples

> asset-check -d assetlinks.json instance[1].target: is not exactly one from </WebTarget>,</AndroidTarget> Errors validating schema › asset-check https://www.google.com/.well-known/assetlinks.json URL: https://www.google.com/.well-known/assetlinks.json # App Links: ## Websites linked: - www.google.com ## To apps: - com.google.android.calendar 

Tests

npm test

Release History

  • 0.1.0 Initial release

About

Check your .well-known/assetlinks.json file on the cli

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors