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

@hint/utils-json

Package Overview
Dependencies
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hint/utils-json

utils for JSON

  • 1.0.28
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17K
decreased by-9.79%
Maintainers
5
Weekly downloads
 
Created
Source

JSON utils (@hint/utils-json)

Set of helpers to process JSON.

Installation

This package is installed automatically when adding webhint to your project so running the following is enough:

npm install hint --save-dev

Utils

  • finalConfig: Calculate the final configuration taking into account the extend property.
  • parseJSON: Parse a json string.
  • loadJSONFile: Loads a JSON a file.
  • JSONLocationOptions: Type representing the options for the location.
  • JSONLocationFunction: Type representing the options for the location function.
  • IJSONResult: Interface for a JSONResult.
  • ExtendableConfiguration: Type representing a extendable configuration.
  • IParsingError: Interface for an error parsing.
  • ISchemaValidationError: Interface for an error validating a json.
  • SchemaValidationResult: Type representing the result of a json validation.
  • GroupedError: Type representing a group of errors validating a json.
  • validate: Validate a json given a schema.

Keywords

FAQs

Package last updated on 29 Aug 2024

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