An open API service indexing awesome lists of open source software.

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)

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: string

type(4);
// Expected: number

type(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.