Chevtek.io
  • Home
  • Github
  • Stack

npm

A collection of 6 posts

Npm 5 changes to npm link.
npm

Npm 5 changes to npm link.

I've been following an issue on the npm bug tracker for a while now. Basically, when npm 3 released they made a somewhat major change to the way dependencies are installed.

  • Alex Ford
    Alex Ford
7 min read
You can finally "npm link" packages that contain peer dependencies!
npm

You can finally "npm link" packages that contain peer dependencies!

For the past year I've been dealing with an annoying bug in node/npm that there has been no simple solution for. It has to do with npm link [https://docs.npmjs.com/

  • Alex Ford
    Alex Ford
5 min read
Why I think "micro-packages" are a good thing.
npm

Why I think "micro-packages" are a good thing.

Over the past couple days drama unfolded in the JavaScript community when a social media company called Kik [https://www.kik.com/] threatened to send lawyers after a small time OSS developer if

  • Alex Ford
    Alex Ford
13 min read
"vpub" bash function that automatically increments your project's version number, pushes to git, and publishes to npm.
Git

"vpub" bash function that automatically increments your project's version number, pushes to git, and publishes to npm.

Just paste this function into your .bash_profile. function vpub() { npm version $1; git push origin master; npm publish; } Then you'll be able to do vpub patch/minor/major and it will: Automatically

  • Alex Ford
    Alex Ford
1 min read
Optimist Fork With Five Months of Updates Rolled In
npm

Optimist Fork With Five Months of Updates Rolled In

Optimist [https://github.com/substack/node-optimist] is a popular node module used to turn an array of arguments into a JavaScript hash making it really easy to access supplied options from the command

  • Alex Ford
    Alex Ford
1 min read
Getting Too Modular
JavaScript

Getting Too Modular

Over the last year or so I've fallen in love with node [http://nodejs.org] and even JavaScript as a language (the good parts, of course). I was very pleased to find that

  • Alex Ford
    Alex Ford
6 min read
Chevtek.io © 2023
Latest Posts Facebook Twitter Ghost