Socket
Socket
Sign inDemoInstall

past

Package Overview
Dependencies
177
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    past

Next.js inspired opinionated framework focusing on the boring past


Version published
Maintainers
1
Created

Readme

Source

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

FAQs

Last updated on 02 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc