0.5.1 • Published 6 months ago

epdoc-util v0.5.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 months ago

epdoc-util

Typescript utilities, mostly for type checking, with type-guards.

import { isBoolean } from 'epdoc-util';

if (isBoolean(value)) {
  doTask();
}
import { object as test } from 'epdoc-util';

let obj = { a: { b: 3 } };
test(obj)
  .property('a.b')
  .value(); // returns 3

u.path('a.c').setValue({}, 4); // results in { a: { c: 4 }}

test(obj)
  .property('a.b')
  .isInteger(); // returns true

Build

npm run clean
npm run build
npm run test

Publish

npm publish
0.3.0

6 months ago

0.2.7

7 months ago

0.2.6

7 months ago

0.2.9

6 months ago

0.2.8

6 months ago

0.5.0

6 months ago

0.4.0

6 months ago

0.5.1

6 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.1.17

8 months ago

0.2.3

7 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.1.16

4 years ago

0.1.14

4 years ago

0.1.15

4 years ago

0.1.12

4 years ago

0.1.13

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

5 years ago