目录

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
关于
50.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号