Package Exports
- readify
- readify/legacy
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (readify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Readify

Read directory content with file attributes: size, date, owner, mode.
Install
With npm:
npm i readify --saveWith bower:
npm i bower --saveHow to use?
Readify could be used in node.js based applications or in browsers with help of filer.
node.js example:
const readify = require('readify');
radify('/', (error, data) => {
console.log(error || data);
});browser example:
var fs = new Filer.FileSystem();
readify('/', function(error, data) {
console.log(error || data);
});Possible data:
{
path: '/',
files: [{
name: 'readify.js',
size: '4.22kb',
date: '20.02.2016',
owner: 'coderaiser',
mode: 'rw- rw- r--'
}]
}Environments
In old node.js environments that supports es5 only, readify could be used with:
var readify = require('readify/legacy');License
MIT