2.1.19 • Published 15 days ago

@devtea2026/officia-est-fuga-corrupti v2.1.19

Weekly downloads
-
License
MIT
Repository
github
Last release
15 days ago

@devtea2026/officia-est-fuga-corrupti Version Badge

github actions coverage License Downloads

npm badge

ES Object-related atoms: Object, ToObject, RequireObjectCoercible.

Example

const assert = require('assert');

const $Object = require('@devtea2026/officia-est-fuga-corrupti');
const ToObject = require('@devtea2026/officia-est-fuga-corrupti/ToObject');
const RequireObjectCoercible = require('@devtea2026/officia-est-fuga-corrupti/RequireObjectCoercible');

assert.equal($Object, Object);
assert.throws(() => ToObject(null), TypeError);
assert.throws(() => ToObject(undefined), TypeError);
assert.throws(() => RequireObjectCoercible(null), TypeError);
assert.throws(() => RequireObjectCoercible(undefined), TypeError);

assert.deepEqual(RequireObjectCoercible(true), true);
assert.deepEqual(ToObject(true), Object(true));

const obj = {};
assert.equal(RequireObjectCoercible(obj), obj);
assert.equal(ToObject(obj), obj);

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.

2.1.19

15 days ago

2.1.18

16 days ago

2.1.16

18 days ago

2.1.17

17 days ago

2.0.16

19 days ago

2.0.15

20 days ago

1.0.15

21 days ago

1.0.14

22 days ago

1.0.13

23 days ago

1.0.12

24 days ago

1.0.11

25 days ago

1.0.10

26 days ago

1.0.9

27 days ago

1.0.8

28 days ago

1.0.7

29 days ago

1.0.6

30 days ago