https://github.com/sampoder/shame.js
eval("'Javascript' === 'Incredible'")
https://github.com/sampoder/shame.js
Last synced: 11 months ago
JSON representation
eval("'Javascript' === 'Incredible'")
- Host: GitHub
- URL: https://github.com/sampoder/shame.js
- Owner: sampoder
- Created: 2023-10-09T00:52:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T01:10:28.000Z (over 2 years ago)
- Last Synced: 2025-02-28T21:06:46.929Z (11 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `shame.js`: curb your `eval()` addiction.
Install `shame.js` with:
```bash
npm install shame.js
```
And start every new project with this line:
```js
require("shame.js")()
```
Before, you would have wrriten this code:
```js
eval("console.log(String.fromCodePoint(0x1F600 + Math.floor(Math.random() * (0x1F64F - 0x1F600 + 1))))")
```
Now, you'll be writing:
```js
ಥ_ಥ("console.log(String.fromCodePoint(0x1F600 + Math.floor(Math.random() * (0x1F64F - 0x1F600 + 1))))")
```
And your addiction will be cured in no time! Run `ᐛ()` to celebrate.
###### PSA: don't be sneaky and use `new Function()`; that's now `new ಠ_ಠ()`