1.2.32 • Published 7 years ago

@clarketm/superobject v1.2.32

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Object

NPM release

Object with superpowers! 💪

This data structure inherit all methods and properties from the Object built-in.

Individual Module Installation

Yarn

$ yarn add @clarketm/superobject

Npm

$ npm install @clarketm/superobject --save

API

constructor(object: Object)

Construct an Object

hasNested(path: string): boolean

Check for nested value from string key

NameTypeAttributeDescription
pathstring

getNested(path: string): Item

Get nested JavaScript object value from string key

NameTypeAttributeDescription
pathstring

clone(config: Config): object

Deep clone an Object

NameTypeAttributeDescription
configConfigoptional: true, default: {}Configuration object
1.2.32

7 years ago

1.2.31

7 years ago

1.2.29

7 years ago

1.2.25

7 years ago

1.2.20

7 years ago

1.2.18

7 years ago

1.2.17

7 years ago

1.2.16

7 years ago

1.2.15

7 years ago

1.2.14

7 years ago

1.2.13

7 years ago

1.2.11

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

0.0.1

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago