Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jlarky/is-not-bun
Return true if you are running not in Bun.
https://github.com/jlarky/is-not-bun
Last synced: about 1 month ago
JSON representation
Return true if you are running not in Bun.
- Host: GitHub
- URL: https://github.com/jlarky/is-not-bun
- Owner: JLarky
- License: mit
- Created: 2023-09-22T04:29:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-23T03:49:17.000Z (over 1 year ago)
- Last Synced: 2024-11-05T17:54:55.743Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://jlarky.vercel.app/posts/how-to-create-npm-package
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Is Not Bun
[![minzip size](https://deno.bundlejs.com/?q=is-not-bun&badge=)](https://bundlejs.com/?q=is-not-bun)
[![install size](https://badgen.deno.dev/packagephobia/install/is-not-bun)](https://packagephobia.com/result?p=is-not-bun)
[![dependency count](https://badgen.deno.dev/bundlephobia/dependency-count/is-not-bun)](https://bundlephobia.com/result?p=is-not-bun)## Usage
```ts
import { printIsNotBun } from "is-not-bun";
printIsNotBun();
```## Why
The packages `is-bun` and `is-not-bun` are just parodies for `is-even` and `is-odd`, I made them just as an example of how to create a modern npm package with Deno and dnt. So please check this out:
- [git repo](https://github.com/JLarky/is-not-bun/commits/tutorial)
- [tutorial article](https://jlarky.vercel.app/posts/how-to-create-npm-package)
- [youtube tutorial](https://youtube.com/live/A19Jvot9hI4)## Support
Give me a star, check my other npm packages, check my other GitHub projects, and follow me on Twitter https://twitter.com/JLarky :)