Skip to content

Latest commit

 

History

History
83 lines (58 loc) · 1.18 KB

README.md

File metadata and controls

83 lines (58 loc) · 1.18 KB


onesy logo

onesy Meta

Meta


MIT license     Production ready     UMD 1.9kb gzipped     100% test cov     Browser and Nodejs

Very simple code     Modern code     Junior friendly     Typescript     Made with 💛


Getting started

Add

yarn add @onesy/meta

Use

  import OnesyMeta from '@onesy/meta';

  const object = {};

  OnesyMeta.add('a', 'a', object);
  OnesyMeta.add('a', 'a4', object, 'p');

  OnesyMeta.get('a', object);
  OnesyMeta.get('a', object, 'p');

  // Output
  // 'a'
  // 'a4'

Dev

Install

yarn

Test

yarn test

Prod

Build

yarn build