You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
837816638@qq.com b02b851162
工商大学管理系统代码
5 years ago
..
lib 工商大学管理系统代码 5 years ago
README.md 工商大学管理系统代码 5 years ago
compat.json 工商大学管理系统代码 5 years ago
metadata.json 工商大学管理系统代码 5 years ago
package.json 工商大学管理系统代码 5 years ago

README.md

ast-metadata-inferer

Build Status

A collection of metadata about browser API's. This collection is intended for tools that analyze JS. It currently supports 3993 compatibility records.

For all the API's it supports, it gives the

  • AST node type of the API (MemberExpression, NewExpression, or CallExpression)
  • Determines if an API is statically invoked (ex. document.querySelector())
  • Determines if an API is a CSS or JS API
  • Provides compatibility information from mdn-browser-compat-data

Usage

import AstMetadata from 'ast-metadata-inferer';

const [firstRecord] = AstMetadata;
console.log(firstRecord);
// {
//   "language":"js-api",
//   "protoChain":["document","querySelector"],
//   "protoChainId":"document.querySelector",
//   "astNodeTypes":["MemberExpression"],
//   "isStatic":true,
//   "compat": {
//     support: {
//       chrome: {
//         version_added: "14"
//       },
//       chrome_android: { version_added: "18" },
//       ...
//     }
//   }
// }

Support

If this project is saving you (or your team) time, please consider supporting it on Patreon 👍 thank you!