georapbox /
js-utils
A collection of dependency-free JavaScript utilities :wrench:
Loading repository data…
shama / repository
:wrench: A collection of pure JavaScript POSIX-like tools
A collection of pure (almost) JavaScript POSIX-like tools.
The primary goal of this project is to build a comprehensive list of POSIX-like tools written in JavaScript. In no way do I claim any of these to be POSIX compliant nor have plans to be certified to say so.
The secondary goal is to fill in the blanks with pure JavaScript, platform agnostic POSIX-like tools. In other words, the same interface can be ran through Node.js/io.js on Windows/OSX/Linux as well as independently in a web browser.
Please see posix-cat for an example agnostic POSIX-like JavaScript tool.
npm install posix-cat
Then in your package.json you can use cat:
{
"name": "myapp",
"version": "1.0.0",
"scripts": {
"build": "cat one.js two.js"
},
"dependencies": {
"posix-cat": "^1.1.0"
}
}
and npm run build should run the same on Windows/OSX/Linux.
The API will also work in a web browser by supplying a Node.js/io.js compatible file system interface:
var cat = require('posix-cat')({
// File inputs go in through a _ array
_: ['one.js', 'two.js'],
fs: {
createReadStream: function(filename) { /* return a read file stream */ }
},
})
cat.on('data', function(data) {
console.log(data.toString())
})
If you know of a tool in JavaScript that works similar to a POSIX utility, please add it to this list!
Server: Will only run on the server side. Alias: Will exec the OS's binary tool.
setTimeoutfalseSelected from shared topics, language and repository description—not editorial ratings.
georapbox /
A collection of dependency-free JavaScript utilities :wrench:
albertiaedev /
This repository includes a collection of basic cheatsheets of python :snake:, javascript :computer:, php :elephant: and the most important libraries :book: ,frameworks :framed_picture: & other programming tools :wrench: