Skip to content

lin-hun/jane-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jane

install

  • npm install -g @linhun/jane-cli

usage

  • jane --help

插件机制

  • css
let less = require('less')
let fs = require('fs')
// {file:'path'}
module.exports = (option)=>{
	return new Promise((resolve,rej)=>{
	less.render(fs.readFileSync(option.file,'utf8'))
    .then(function(output) {
    	resolve(output)
     },
     function(error) {
     	rej(error)
    })
})
}

About

cli for jane

Resources

Stars

Watchers

Forks

Packages

No packages published