0.0.2 • Published 2 years ago

typeof-deep v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

typeof-deep

this is not really that big of a package, but if you really want to use it:

npm install deepTypeof

import { deepTypeof } from "typeof-deep";

const myComplicatedType = {
	foo: [ "bar", "baz", "biz" ],
	box: {
		a: 1,
		b: 2,
		c: [
			3, "four", () => {}
		]
	}
};

console.log(JSON.stringify(deepTypeof(myComplicatedType), null, 2));

that's it, that's the whole package.

0.0.2

2 years ago

0.0.1

2 years ago