bung
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

bung

Build Status Windows Build Status Coverage Status

Random methods awaiting a proper home.

Install

yarn add bung

Usage

  import { toJS, fillCurlies, getDayAbbrName, ropeyDateToEpoch } from 'bung';
  
  await toJS('<x>ml</x>');                  // { x:'ml' }
  fillCurlies('a{z}c', {z:'b'});            // 'abc'
  getDayAbbrName(new Date(0).getUTCDay());  // 'Thu'
  ropeyDateToEpoch('1 Jan 1970');           // 0

Readme

Keywords

none

Package Sidebar

Install

npm i bung

Weekly Downloads

2

Version

0.5.0

License

ISC

Unpacked Size

5.69 kB

Total Files

11

Last publish

Collaborators

  • simongregory