Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hint/hint-compat-api

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hint/hint-compat-api

hint to validate if the HTML, CSS, and JavaScript APIs of the project are deprecated or not broadly supported

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17K
decreased by-3.23%
Maintainers
3
Weekly downloads
 
Created
Source

Compatibility of CSS, HTML and JavaScript features (compat-api)

compat api contains hints to check if your CSS HTML and JavaScript have deprecated or not broadly supported features.

Why is this important?

You need to know if all the properties that you are using in your files are compatible with the target browsers that you want to support.

Hints

  • compat-api-css
  • compat-api-css-next

How to use these hints?

To use it you will have to install it via npm:

npm install @hint/hint-compat-api

Note: You can make npm install it as a devDependency using the --save-dev parameter, or to install it globally, you can use the -g parameter. For other options see npm's documentation.

And then activate it via the .hintrc configuration file:

{
    "connector": {...},
    "formatters": [...],
    "hints": {
        "compat-api-css": "error",
        "compat-api-css-next": "error",
        ...
    },
    "parsers": [...],
    ...
}

Keywords

FAQs

Package last updated on 15 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc