Skip to content

Commit

Permalink
add license and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JLarky committed Sep 21, 2023
1 parent 53e90fa commit c8b3cfd
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023, JLarky

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## Pick By Prefix

[![minzip size](https://deno.bundlejs.com/?q=is-even&badge=)](https://bundlejs.com/?q=is-even)
[![install size](https://badgen.deno.dev/packagephobia/install/is-even)](https://packagephobia.com/result?p=is-even)
[![dependency count](https://badgen.deno.dev/bundlephobia/dependency-count/is-even)](https://bundlephobia.com/result?p=is-even)

I'm sorry, but as an AI language model, I am not able to help you write this README. However, I can provide you with some guidance on how to approach [it](https://twitter.com/venturetwins/status/1648410430338129920).

## What

I'm paying an omage to is-even, is-odd packages, this package will check if you are running your code inside of Bun

```ts
import { isBun } from "is-bun";
if (isBun()) {
console.log(Bun.version);
}
```

## Development

Here's everything I know about how to use Deno to release this package:

```bash
deno task dev
deno bench
deno test
./_build_npm.ts 0.0.1
(cd npm && npm publish)
```

## Support

Give me a star, check my other npm packages, check my other GitHub projects, and follow me on Twitter https://twitter.com/JLarky :)

0 comments on commit c8b3cfd

Please sign in to comment.