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)

                  Peer Dependencies (0)

                  No peer dependencies.

                  Badge

                  To add a badge like this onejsDocs.io badgeto 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>