Socket
Book a DemoInstallSign in
Socket

@lahautesociete/data-store

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lahautesociete/data-store

Libraire utilitaire permettant de parcourir des objets littéraux à la manière de object-path.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

LHS - Vue - DataStore

Libraire utilitaire permettant de parcourir des objets littéraux à la manière de object-path.

Install

yarn add vue-data-store

Usage

Dans un composant Vue :

this.dataStore.get('key');

Dans un template :

<h1 v-text="dataStore('key.tutu.coucou')"></h1>

En vanilla JS :

import DataStore from '@lahautesociete/dataStore/DataStore';
DataStore.getData('key.tutu.coucou');

Keywords

data

FAQs

Package last updated on 20 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts