Socket
Socket
Sign inDemoInstall

export-dirs

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.2 to 0.2.3

1

index.js

@@ -40,3 +40,2 @@ /*!

}
console.log(res)
return res;

@@ -43,0 +42,0 @@ };

2

package.json
{
"name": "export-dirs",
"description": "Export directories and their files as node.js modules.",
"version": "0.2.2",
"version": "0.2.3",
"homepage": "https://github.com/jonschlinkert/export-dirs",

@@ -6,0 +6,0 @@ "author": {

@@ -21,3 +21,4 @@ # export-dirs [![NPM version](https://badge.fury.io/js/export-dirs.svg)](http://badge.fury.io/js/export-dirs)

```
```js
// all files and directories are flattened onto the `_` object
{ _:

@@ -36,5 +37,7 @@ { z: [Function],

a: [Function] },
// files in the same directory as export-dirs
z: [Function],
y: [Function],
x: [Function],
// folders in the same directory as export-dirs
two: { f: [Function], e: [Function], d: [Function] },

@@ -45,2 +48,4 @@ three: { i: [Function], h: [Function], g: [Function] },

_(Note that export-dirs does not recurse)_.
## Related projects

@@ -47,0 +52,0 @@ * [to-exports](https://github.com/jonschlinkert/to-exports): Create exports from a directory of non-javascript or javascript files.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc