shvl

WebJar for shvl

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

shvl
Последняя версия

Последняя версия

1.3.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

shvl
WebJar for shvl
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/robinvdvleuten/shvl

Скачать shvl

Имя Файла Размер
shvl-1.3.1.pom
shvl-1.3.1.jar 8 KB
shvl-1.3.1-sources.jar 22 bytes
shvl-1.3.1-javadoc.jar 22 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/shvl/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>shvl</artifactId>
    <version>1.3.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/shvl/
implementation 'org.webjars.npm:shvl:1.3.1'
// https://jarcasting.com/artifacts/org.webjars.npm/shvl/
implementation ("org.webjars.npm:shvl:1.3.1")
'org.webjars.npm:shvl:jar:1.3.1'
<dependency org="org.webjars.npm" name="shvl" rev="1.3.1">
  <artifact name="shvl" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='shvl', version='1.3.1')
)
libraryDependencies += "org.webjars.npm" % "shvl" % "1.3.1"
[org.webjars.npm/shvl "1.3.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

shvl

Get and set dot-notated properties within an object.


Build Status NPM version NPM downloads MIT license

PRs Welcome

Sponsored by The Webstronauts

Installation

npm install --save shvl

The UMD build is also available on unpkg:

<script src="//unpkg.com/shvl/dist/shvl.umd.js"></script>

This exposes the shlv object as a global.

Usage

import * as shvl from 'shvl';

let obj = {
	a: {
		b: {
			c: 1
			d: undefined
			e: null
		}
	}
};

// Use dot notation for keys
shvl.set(obj, 'a.b.c', 2);
shvl.get(obj, 'a.b.c') === 2;

// Or use an array as key
shvl.get(obj, ['a', 'b', 'c']) === 1;

// Returns undefined if the path does not exist and no default is specified
shvl.get(obj, 'a.b.c.f') === undefined;

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributors

Thanks goes to these wonderful people (emoji key):


Robin van der Vleuten

💬 💻 📖 💡 🤔 🚇 👀 ⚠️

ajenkinski

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

The MIT License (MIT). Please see License File for more information.

Версии библиотеки

Версия
1.3.1