@es-git/memory-repo
TypeScript icon, indicating that this package has built-in type declarations

0.10.0 • Public • Published

memory-repo

This is part of the ES-Git project.

Install

npm install --save @es-git/memory-repo

Usage

This is an implementation of IRawRepo that stores data in a Map. It is a temporary storage, it will not persist after the page refreshes or the node application is stopped. This makes it great for testing and experimenting, since it can be used with any of the mixins but does not have any side-effects.

import Repo from '@es-git/memory-repo';

const repo = new Repo();

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @es-git/memory-repo

    Weekly Downloads

    17

    Version

    0.10.0

    License

    MIT

    Unpacked Size

    20.8 kB

    Total Files

    16

    Last publish

    Collaborators

    • mariusgundersen