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

https://github.com/frux/something

Adds something to your global
https://github.com/frux/something

Last synced: 4 months ago
JSON representation

Adds something to your global

Awesome Lists containing this project

README

          

# Something.js
## Adds something to your global

Something.js adds `something` variable that equals different global properties every time you try to get its value.

## Usage
### on browser
```html

```
### on NodeJS
```bash
npm install something
```

```js
require('smth');
```

And now just use something!
```js
console.log(typeof something) //'function'
console.log(typeof something) //'object'
console.log(typeof something) //'boolean'
console.log(typeof something) //'object'
console.log(typeof something) //'null'
```

Also you can compare your variables with something:
```js
if(myVariable === something){
//...your code
}
```