3.0.0 • Published 6 months ago

@hywax/std-types v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

std-types

STD Types

npm version npm downloads License

Extended types for standard library JS.

Installation

# Using pnpm
pnpm add @hywax/std-types

# Using yarn
yarn add @hywax/std-types

# Using npm
npm install @hywax/std-types

Usage

Create a std-types.d.ts file in your project with these contents:

import '@hywax/std-types'

// or

import '@hywax/std-types/objects'
import '@hywax/std-types/json'

Types

Objects:

  • keys - returns an array of a given object's own enumerable string-keyed property names.
  • entries - returns an array of a given object's own enumerable string-keyed property key-value pairs

JSON:

  • parse - constructing the JavaScript value or object described by the string.
3.0.0

6 months ago

2.0.0

6 months ago

1.0.0

6 months ago