Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jk-draft-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

jk-draft-store

A persistent and structured store for managing draft data.

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

JK-Draft-Store

A persistent and structured store for managing draft data.

Installation

$ npm i --save jk-draft-store

Usage

import { draftStore } from 'jk-draft-store'

// Create sub stores
const userStore = draftStore.category('SuneBear')
const infoStore = userStore.categrory('info')

// Do great things
infoStore.set('bio', 'Everyone is the other and no one is himself.')

API

Since we started using TypeScript as the scripting language, which is strict a superset of JavaScript. Programming with the power of type system, the repo contains API interfaces, declarations, not only implementation of library. I believe a conversational inteface rather than writing a documentation by hand, So there is no API documentation provided. If you want to see how to use the library, please check out test and example.

License

MIT

FAQs

Package last updated on 19 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc