matsilva / installfont Goto Github PK
View Code? Open in Web Editor NEWSuper easy nodejs system font installation
Home Page: http://installfont.com
License: MIT License
Super easy nodejs system font installation
Home Page: http://installfont.com
License: MIT License
This package needs an update using es6 and all the other new new
If the font directory supplied as an argument is an empty folder, the callback will hang.
Error: ENOENT: no such file or directory, mkdir '/usr/share/fonts/truetype'
node_modules/installfont/lib/installfont.js:32
Should use mkpath package for recursive directory creation.
Also should only execute this logic when install font is invoked.
Need to check for file or directory first and handle any errors.
fs.js:689
return binding.stat(pathModule._makeLong(path));
^
Error: ENOENT, no such file or directory '/home/msilva/builds/54d0cd886426e78125edabbf/54d0d08db6166f333badd265/fonts'
at Object.fs.statSync (fs.js:689:18)
at isFolder (/home/msilva/RenderEffects/re.buildprocessor/node_modules/installfont/lib/installfont.js:32:18)
at module.exports (/home/msilva/RenderEffects/re.buildprocessor/node_modules/installfont/lib/installfont.js:48:6)
at ChildProcess.<anonymous> (/home/msilva/RenderEffects/re.buildprocessor/lib/index.js:187:16)
at ChildProcess.EventEmitter.emit (events.js:117:20)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.