https://github.com/archive-of-fallen/type
Single-file, lightweight type() function in JavaScript (why not, right?) (Heavy WIP)
https://github.com/archive-of-fallen/type
javascript mit-license nodejs type
Last synced: 4 months ago
JSON representation
Single-file, lightweight type() function in JavaScript (why not, right?) (Heavy WIP)
- Host: GitHub
- URL: https://github.com/archive-of-fallen/type
- Owner: archive-of-fallen
- License: mit
- Created: 2018-03-29T02:24:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-10T04:09:34.000Z (almost 7 years ago)
- Last Synced: 2025-01-03T15:12:12.733Z (5 months ago)
- Topics: javascript, mit-license, nodejs, type
- Language: JavaScript
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Type
Single-file, lightweight type() function in JavaScript.### Why?
Why not?### Notice
This was intended to be a fun project, something **EXACTLY** like this exists in JavaScript, this is not intended for production-use at all.## Example
```js
const { type } = require('type');type('Hello');
// Expected: stringtype(4);
// Expected: numbertype(true);
// Expected: boolean
```## In progress
- Identification of objects.## Discord
[Fallen's Creation Hub](https://discord.gg/2AxaHpf)# License
This project is licensed under the permissive MIT license.