0.2.0 • Published 3 years ago

playscript v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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:
npm i playscript
# or
yarn add playscript
2.Create file index.ps...
3. Add this to your index file:
  app.route("/",res=>{
    var planet="Earth"
    res.send( <p> hello {{planet}}!</p> )
  }).port(3000)
4. Run script:
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


Contributors


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. Contributions will be highly valued. xoxo

logo

0.2.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago