1.0.2 • Published 7 years ago

yarn-simple-installer v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

#Yarn Simple Installer ##A Simple nodejs library to install dependencies using yarn

##Usage

###Install Yarn first

   npm install -g yarn

###Install yarn-simple-installer

    npm install --save yarn-simple-installer

###Create package.txt to hold dependencies ,the dependencies must be comma separated

    package.txt
    mongoose,express,angular,react,socket.io

###Use in code to install dependencies in runtime

    var simpleYarnInstaller = require('yarn-simple-installer')

###Install dependencies(Blocking)

    simpleYarnInstaller.install()

###Install dependencies(Promise api)

    simpleYarnInstaller.startInstall().then((outout)=>{
       //your code goes here (output will give console output while installing dependencies)
    }).catch((err)=>{
          //error handling code goes here
      })