Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

co-fs-plus

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co-fs-plus - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

Makefile

2

package.json
{
"name": "co-fs-plus",
"version": "0.0.1",
"version": "0.0.2",
"description": "'co-fs' plus, supports `fs.walk` etc.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -0,15 +1,13 @@

var co = require('co');
var fs = require('..');
var co = require('co');
co(function *() {
var files = yield fs.walk('../')
console.log(files);
describe('.walk()', function () {
it('should work', function (done) {
co(function *() {
var files = yield fs.walk('test/fixtures')
files.should.have.length(1);
files[0].should.equal('test/fixtures/msg.txt');
})(done);
});
});
var files = yield fs.readdir('.', { // Recursively, excudes hidden files.
filterFilename: function (filename) {
return filename[0] != '.';
}
}, []);
console.log(files);
})();
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc