Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cli-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-boilerplate

add html boilerplate to you clipboard for pasting wins

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cli-boilerplate

This is a super simple command line module that copies HTML5 boilerplate to your clipboard so that you can open a new file, paste and :boom:.

Currently just works on Macs or things that have pbcopy

$ boilme

When you paste you get:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Title</title>
    <link rel="icon" type="image/png" href="favicon.png">
    <link rel="stylesheet" href="assets/style.css">
  </head>
  <body>

  </body>
</html>

The boilerplate included here is adapted from the lovely @thefoxis's repository thefoxis/html-boilerplate.

You can use it as-is or adapt it to your own boilerplate needs

Use it

You'll need Node.js and NPM (which comes when you install Node.js) on your computer.

Install cli-boilerplate globally on you computer with NPM:

$ npm install -g cli-boilerplate

From any terminal window, run the boilme command to get the boilerplate copied to you clipboard.

$ boilme

Then paste it where you want it. Done!

Adapt it

You'll need Node.js and NPM (which comes when you install Node.js) on your computer.

Clone this repository (or a fork of it) to your computer:

$ git clone git@github.com:jlord/cli-boilerplate.git

Open it up in your text editor and edit the boilerplate.html file as you'd like it. Save.

$ cd cli-boilerplate

Link this version to your system so that Node uses it when you run boilme. From inside the cli-boilerplate directory link it:

$ npm link

Then run boilme from any terminal window. Yay!

Keywords

FAQs

Package last updated on 06 Sep 2014

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc