past

v1.2.0
Next.js inspired opinionated framework focusing on the boring past

🌐 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.

npm i past

Metadata

  • MIT
  • ^16.14.2
  • Unknown
  • released 9/2/2022

Downloads

Maintainers