1.0.27 • Published 11 months ago

@hint/utils-json v1.0.27

Weekly downloads
4,259
License
Apache-2.0
Repository
github
Last release
11 months ago

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.
1.0.27

11 months ago

1.0.26

11 months ago

1.0.25

1 year ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago