# playscript

> Awesome tiny framework for building PWA's fast!

Latest version **0.2.0** (published 2022-01-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install playscript
pnpm add playscript
yarn add playscript
bun add playscript
```

Provides the command `ps`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2022-01-24 |
| First published | 2022-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 901.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | playscript |
| Keywords | playscript, ps, ps.js, framework, router, template, jsx |

## Links

- npm: https://www.npmjs.com/package/playscript
- npm.io page: https://npm.io/package/playscript

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 0.2.0 (latest) — 2022-01-24
- 0.1.3 — 2022-01-17
- 0.1.2 — 2022-01-16
- 0.1.1 — 2022-01-15
- 0.1.0 — 2022-01-15
- 0.0.9 — 2022-01-14
- 0.0.8 — 2022-01-13
- 0.0.7 — 2022-01-12
- 0.0.6 — 2022-01-10
- 0.0.5 — 2022-01-10
- 0.0.4 — 2022-01-10
- 0.0.3 — 2022-01-09
- 0.0.2 — 2022-01-07
- 0.0.1 — 2022-01-07

## README

PlayScript
===

A **Tiny** and **Powerful** feature packed framework for building progressive offline capable web apps, fast!

Features:
- Top level async / await
- JSX type syntax
- Markdown & HTML templating
- Local and remote module importing
- Awesome life-saving API's
- Prebuilt debugging tools
- And a hell lot more!!

All packed in under half a megabyte and compatible with almost all web hosts, you will truly fall in love with it (🤞 hopefully! ).

See demo usage below:

###### 1.Install Playscript:
```terminal
npm i playscript
# or
yarn add playscript
```
###### 2.Create file `index.ps`...
###### 3. Add this to your index file:
```javascript
  app.route("/",res=>{
    var planet="Earth"
    res.send( <p> hello {{planet}}!</p> )
  }).port(3000)
```
###### 4. Run script:
```terminal
npx ps index.ps
# if installed globally
ps index.ps
```
And yes! this qualifies to be a PWA with offline capabilities! just head to your browser and visit http://localhost:3000 .

---
### Guide
- [Getting started](//github.com/psjs-official/docs)
- [API refrence](//github.com/psjs-official/docs/apis.md)
- [Plugins](//github.com/psjs-official/docs/plugins.md)

---
### Contributors
- dev - [Faizel Garoeb](//github.com/psjs-official)
- **[add your name!](//github.com/psjs-official/join)**

---
PsJs is still in its early stages and will have breaking changes, please wait for a stable release before using in `--prod`. code is unobfuscated [here](//github.com/psjs-official/psjs). Contributions will be highly valued. xoxo

![logo](icon-clear.png)

---
_Source: https://npm.io/package/playscript · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
