1.0.0 • Published 4 years ago

@moskalyka/ds_ts v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

DS-Typescript

Simple data store for prototyping Rewrite in Typescript

Installation

$ npm install @moskalyka/ds_ts

Usage

Example

./Index.ts

const DS = require('@moskalyka/ds_ts').DS

const instance = new DS('./ds.json')
instance.load()

instance.b = 'aerreqrrqegrrghge'
instance.__b = 'rggr'

instance.save()
instance.clear()

./Index.js

const DS = require('@moskalyka/ds_ts').DS

const instance = new DS('./ds.json')
instance.load()

instance.b = 'aerreqrrqegrrghge'
instance.__b = 'rggr'

instance.save()
instance.clear()
1.0.0

4 years ago