dirswipe

0.2.0 • Public • Published

DirSwipe

Installation:

npm install dirswipe

Usage:

FS first example: Models Models/User.js Models/UserPosts.js

FS second example: helpers helpers/helper.js helpers/helper-with-complex-name.js

var dirswipe = require('dirswipe');

var ex1 = dirswipe('path/to/Models');
/*
	{
		user: exports,
		userPost: exports
	}
*/

var ex2 = dirswipe('path/to/helpers');
/*
	{
		helper: exports,
		helperWithComplexName: exports
	}
*/

/dirswipe/

    Package Sidebar

    Install

    npm i dirswipe

    Weekly Downloads

    3

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • archys