https://github.com/blobbybilb/cross-runtime-js
Template/Info for publishing JS/TS libraries for Node.js, Deno, and Bun
https://github.com/blobbybilb/cross-runtime-js
Last synced: about 1 year ago
JSON representation
Template/Info for publishing JS/TS libraries for Node.js, Deno, and Bun
- Host: GitHub
- URL: https://github.com/blobbybilb/cross-runtime-js
- Owner: blobbybilb
- License: mit
- Created: 2024-03-15T20:45:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T21:12:06.000Z (over 2 years ago)
- Last Synced: 2024-05-30T02:14:40.638Z (about 2 years ago)
- Language: TypeScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cross-runtime-JS
Template/Info for publishing JS/TS libraries for Node.js, Deno, and Bun. Sets up
### How to use
- Replace all occurences of `__NAME_HERE__` with your library name.
- `runtime-helper.ts` defines `getRuntimeName()` that returns a string based on the runtime (`"bun" | "deno" | "deno-unstable" | "node"`)
### TODO
- Github Actions
- Scripts for publishing/tasks
- More info for jsr
- Other stuf from [Tuplite](https://github.com/blobbybilb/Tuplite/)