@hywax/std-types
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @hywax/std-types

Weekly Downloads

0

Version

3.0.0

License

MIT

Unpacked Size

4.27 kB

Total Files

12

Last publish

Collaborators

  • hywax