Skip to content

onesy-me/meta

Repository files navigation



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