Skip to content

Single-file, lightweight type() function in JavaScript (why not, right?) (Heavy WIP)

License

Notifications You must be signed in to change notification settings

archive-of-fallen/type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

License

This project is licensed under the permissive MIT license.

About

Single-file, lightweight type() function in JavaScript (why not, right?) (Heavy WIP)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages