1.0.4 • Published 6 years ago

mrnode v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Table of Contents

  • About
  • Documentation
  • Getting Started
  • Features
  • License & Copyright

About

Node.js makes it very easy to use Javascript. Mr.Node make it even easier to use Javascript. It gives a simple API to carry out functions. This way you don't have to write five lines of code for each function. He is very smart.

Documentation

Npm:

$ npm install --save-dev mrnode

Bower:

$ bower install --save-dev mrnode

CDN:

<head>
   <script src="https://unpkg.com/mrnode@1.0.2"></script>
</head>

Getting Started

After you have installed Mr.Node, use Node's require attribute in your Javascript file.

   var mrnode = require('mrnode');

Main Features

Convert Sass to CSS:

   mrnode.csass('yourfolder/yourfile', 'yourdestinationfolder');

Minify Files:

   mrnode.minifyjs('yourfolder/yourfile','yourdestination');
   mrnode.minifycss('yourfolder/yourfile','yourdestinationfolder');

Beautify Files:

   mrnode.beautify('yourfolder/yourfile', 'yourdestinationfolder');

To see more go here.

Customizing Functions

You probably want to customize these functions that I have made. Many of the functions use npm Dependencies. With some knowledge, you can customize these functions to the better likings of your self.

Example:

function create(name, extension) {
    fs.writeFile(name + '.' + extension, '//change the name of this file to whatever you like', function(err) {
        if (err) return console.log(err);
        console.log('File Created');
        .pipe(gulp.dest('destination'))
    });
}

In this example you add a destination to the create(); function. The code for this was .pipe(gulp.dest('destination')).

License & Copyright

:copyright: License

MIT License Template

:copyright: Talon Bragg and Shreyas Lad 2017

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago