one
- Version 6.0.1
- Published
- No dependencies
- MIT license
Install
npm i one
yarn add one
pnpm add one
Overview
Browser application cache. It guarantees entity uniqueness across the entire cache.
Index
Functions
function evict
evict: (uidOrEntityOrArray: string | number | {} | any[]) => ICacheStats;
function get
get: (entity: string | number | {} | any[], nodeId?: number) => any;
function getCache
getCache: (instanceName?: string, configuration?: {}) => ICache;
function getEdit
getEdit: ( uidOrEntityOrArray: string | number | {} | any[], nodeId?: number) => any;
function print
print: () => string;
function put
put: (item: {} | {}[]) => void;
function reset
reset: () => void;
function uuid
uuid: () => string;
Package Files (2)
Dependencies (0)
No dependencies.
Dev Dependencies (23)
- @types/jest
- babel-core
- babel-loader
- babel-polyfill
- babel-preset-es2015
- babel-preset-stage-0
- eslint
- eslint-config-standard
- eslint-plugin-import
- eslint-plugin-jest
- eslint-plugin-node
- eslint-plugin-promise
- eslint-plugin-standard
- jest
- path
- rimraf
- ts-jest
- ts-loader
- typescript
- typescript-eslint-parser
- webpack
- webpack-dev-middleware
- webpack-dev-server
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/one
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/one)
- HTML<a href="https://www.jsdocs.io/package/one"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2651 ms. - Missing or incorrect documentation? Open an issue for this package.