Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

past

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

past

Next.js inspired opinionated framework focusing on the boring past

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
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

Package last updated on 02 Sep 2022

Did you know?

Socket

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