Skip to content

coderaiser/node-beautifile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beautifile License NPM version Dependency Status Build Status

Beautify js, html and css.

Install

npm i beautifile --save

Options

Options of beautifile can be find in json/beautify.json, and could be overriden by ~/.beautify.json.

How to use?

const beautifile  = require('beautifile');

beautife('ugly.js', (error, data) => {
    if (error)
        return console.error(error.message);
    
    console.log(data);
});

License

MIT