Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arjundandagi/prints-yourname


https://github.com/arjundandagi/prints-yourname

packaging

Last synced: about 15 hours ago
JSON representation

Awesome Lists containing this project

README

        

# prints-yourname

[![DeepScan grade](https://deepscan.io/api/teams/11055/projects/13974/branches/249132/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=11055&pid=13974&bid=249132)

[![NPM](https://nodei.co/npm/prints-yourname.png)](https://npmjs.org/package/prints-yourname)

Prints yourname , in to the console

## USAGE:

install the package using command

```
npm i prints-yourname
```

you can use the package like this
```
$ echo "require('prints-yourname');" > index.js
$ node index.js
```

## WHY?

just a fun package learning

## HOW?

1. create a folder ( prints-yourname) //its already taken now , so use a different one
2. cd
3. npm init ( and fill those details )
4. touch index.js
5. write stuff inside index.js ( i just wrote console.log("secretstuff");)
6. npm login
7. npm publish

The only requirement to publish to npm registry is package.json . how cool is that .

I have learnt packaging for Brew , pip , apt ... but this is the one i really liked :)