past

1.2.0 • Public • Published

🌐 past

Web framework for people from the past.

past latest npm version

Creating a page

Create a HTML file inside a 'pages' folder.

mkdir pages
echo '<h1>Hello, World</h1>' > pages/index.html

Then run npx past.

You will see your page at the URL http://localhost:3000.

Examples

Use these examples to start or learn from:

  • Hello World – simple html page with CSS and JavaScript.
  • Form – simple form with user input that shows a message.
  • Nunjucks – simple Nunjucks page with data.
  • GOV.UK – GOV.UK login form with error messages.
  • Markdown – simple markdown document.

Want to code in your browser? You can copy the 'hello-past' starter project on Glitch.com.

Readme

Keywords

none

Package Sidebar

Install

npm i past

Weekly Downloads

5

Version

1.2.0

License

MIT

Unpacked Size

318 kB

Total Files

35

Last publish

Collaborators

  • nickcolley