Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ooade/micro-typeof
✍🏿Get the exact type of a value
https://github.com/ooade/micro-typeof
typeof typescript
Last synced: 4 months ago
JSON representation
✍🏿Get the exact type of a value
- Host: GitHub
- URL: https://github.com/ooade/micro-typeof
- Owner: ooade
- Created: 2020-03-05T07:33:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-22T13:09:23.000Z (over 1 year ago)
- Last Synced: 2024-10-06T11:52:22.511Z (5 months ago)
- Topics: typeof, typescript
- Language: TypeScript
- Homepage:
- Size: 366 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Micro TypeOf
## Installation
```sh
npm add micro-typeof
```## Usage
```js
import typeOf from 'micro-typeof';typeOf([0, 1]) // array
typeOf({ name: 'Ademola' }) // object
typeOf(Symbol('foo') // symbol
typeOf(() => {}) // function
```## LICENSE
MIT