Skip to content

app-json/simple-ssl-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-skeleton

A boilerplate for creating healthy npm modules.

The Setup

  • strict mode JavaScript
  • mocha test harness with nice output
  • dotenv, which reads .env into process.env.
  • a .gitignore for .env and the node_modules directory
  • a hollowed-out package.json

Usage

Put this in .bashrc or whatever:

skeleton() {
  git clone https://github.com/zeke/npm-skeleton $1
  cd $1
  rm -rf ./.git
  echo "FOO=BAR" >> .env
  echo "node_modules" >> .gitignore
  echo ".env" >> .gitignore
  npm install
  npm test
  git init
  git add .
  git commit -am "---=[ npm skeleton ]=---"
}

Then pass a name for your new project:

skeleton that-new-thang

About

A proof of concept for serving up insecure content over SSL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors