Skip to main content

Posts

Latest

Publish your npm right

Introduction
I've been working hard lately to publish my last works. For some time I was working on an evaluation platform for IT recruiters. The idea was to be able to create quizzes and auto-evaluate them. At the beginning I was thinking of a full website to generate and evaluate. But with the time clock going on, I decided to focus on the evaluation engine.
To more easily integrate it on my other projects, I decided to make it an express middleware and to share it as an npm dependency as of the node philosophy is do one thing but do it right.
How to
To allow users to access your package easily  and to avoid breaking things, you should create a tag version for your package according to your packages.json :

git tag -a v0.0.1 git push --tags
Actually it was really easy to publish it. First of all, you'll need an npm account by typing the following commands :
npm set init.author.name "Your Name"npm set init.author.email "you@example.com"npm set init.author.ur…

Latest Posts

Using CDN caching with GraphQL

New project launched : FlyersWeb/react-presentation

Best free online courses

New project launched : FlyersWeb/file-extension-api

New project launched : FlyersWeb/docker-dropbackup

New project launched : FlyersWeb/docker-aria2

101 Ways to Make Your Website More Awesome

Let’s Encrypt is a new Certificate Authority: It’s free, automated, and open