This package has been deprecated

Author message:

not maintained

@specla/dot-string

2.0.0 • Public • Published

Specla dot-string

npm version Build Status Coverage Status Dependency Status Standard - JavaScript Style Guide

Manage array items or object properties with dot notation strings.

Install

npm install @specla/dot-string

Usage

import { get, set } from '@specla/dot-string'

// Get an array item or object property with dot string syntax
const value = get(obj, 'key.item')

// Mutate array item or object property
set(obj, 'key.item', 'some value...')

Package Sidebar

Install

npm i @specla/dot-string

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • kvartborg