# modules-autoloader

> Simple and functional package to autoload your libraries and modules

Latest version **1.1.1** (published 2014-10-27) · 0 weekly downloads

## Install

```sh
npm install modules-autoloader
pnpm add modules-autoloader
yarn add modules-autoloader
bun add modules-autoloader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2014-10-27 |
| First published | 2014-10-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ivaylo Ivanov |
| Maintainers | pertinax |
| Keywords | autoload, modules, util, functional, server |

## Links

- npm: https://www.npmjs.com/package/modules-autoloader
- Repository: https://github.com/pertinax/modules-autoloader
- Issues: https://github.com/pertinax/modules-autoloader/issues
- npm.io page: https://npm.io/package/modules-autoloader

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2014-10-27
- 1.1.0 — 2014-10-27
- 1.0.2 — 2014-10-27
- 1.0.1 — 2014-10-27
- 1.0.0 — 2014-10-27

## README

# Modules-Autoloader
## How to install
npm install modules-autoloader 
or make a copy of autoload.js to your src folder
## How to use it
    var app = require('modules-autoloader');
    var config = {
        filesToSkip:{
            'some.js': 'skip',
            'another.js': 'skip'
        },
        modules:{
            '_': 'underscore'
        }
    }
    app = app.getObjects(__dirname + '/app',config);
    console.log(app);
As first param for `app.getObjects()` you should set the directory with js files, that you want to include `/someDir`. The second one is optional `config`. You can set which files to be skipped ( not included - if you have a property with the file name, but the value is not 'skip', the file will be included, so you can easily change the behavior with only one change ) and/or 
include other packages (node_modules folder) by setting the property and the name of the package `modules: { '_': 'underscore' }`

---
_Source: https://npm.io/package/modules-autoloader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
