mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
26 lines
476 B
Markdown
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).
|