Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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