pockethost/packages/cli/readme.md
2022-10-28 05:12:27 -07:00

26 lines
476 B
Markdown

# TS/JS Cloud Functions for PocketBase
[PBScript](https://github.com/benallfree/pbscript) allows you to write [PocketBase](https://pocketbase.io) server-side functions in Typescript or Javascript without recompiling.
This package is the CLI tool.
```bash
npm i -g pbscript
```
or
```bash
npx pbscript --help
```
or
```bash
npm i -D pbscript
```
And then reference from `package.json`.
See official docs at the [PBScript repo](https://github.com/benallfree/pbscript).