@clarketm/superobject

1.2.32 • Public • Published

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

Name Type Attribute Description
path string

getNested(path: string): Item

Get nested JavaScript object value from string key

Name Type Attribute Description
path string

clone(config: Config): object

Deep clone an Object

Name Type Attribute Description
config Config optional: true, default: {} Configuration object

Package Sidebar

Install

npm i @clarketm/superobject

Weekly Downloads

2

Version

1.2.32

License

MIT

Unpacked Size

17.4 kB

Total Files

6

Last publish

Collaborators

  • clarketm