0.8.0 • Published 1 year ago

@communityboss/utils v0.8.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

@communityboss/utils

Generic isomorphic (browser+server) TypeScript utility library

Install

npm install --save @communityboss/utils

Usage

import { uuid } from '@communityboss/utils'

console.log(uuid.parse('...'))

Modules

This package is composed primarily of reusable typescript modules. Tree shaking might be easier for you if you consume things directly from typescript:

import { by } from "@communityboss/utils/src/sort";

Arrays

TODO

Base32

TODO

Classes

TODO

Date

TODO

Dateformat

TODO

File

TODO

Image

TODO

Imgx

TODO

Infotag

TODO

Json

TODO

Promises

TODO

Qs

TODO

Response

TODO

Sort

The TSDocs are complete for this library. Use for sorting arrays of objects by those objects' properties:

import { sort } from "@communityboss/utils";

const { by } = sort;

const myObjects = [ {id: 1, name: "Nathan" }, { id: 10, name: "Chris" }, { id: 11, name: "Dana" } ];

myObjects.sort(by("name"));

Support

TODO

Time

TODO

Urls

TODO

Uuid

TODO

Development

npm install
npm run dev
0.8.0

1 year ago

0.7.0

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.4.0

1 year ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago