# put-packages-in-requirejs-config

> Insert packages into a require.js config file

Latest version **1.2.1** (published 2015-08-06) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install put-packages-in-requirejs-config
pnpm add put-packages-in-requirejs-config
yarn add put-packages-in-requirejs-config
bun add put-packages-in-requirejs-config
```

## 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.2.1 |
| Published | 2015-08-06 |
| First published | 2015-08-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Aria Stewart |
| Maintainers | aredridel |
| Keywords | require.js, amd |

## Links

- npm: https://www.npmjs.com/package/put-packages-in-requirejs-config
- Repository: https://github.com/aredridel/put-packages-in-requirejs-config
- Homepage: https://github.com/aredridel/put-packages-in-requirejs-config#readme
- Issues: https://github.com/aredridel/put-packages-in-requirejs-config/issues
- npm.io page: https://npm.io/package/put-packages-in-requirejs-config

## Dependencies (5)

- [glob](https://npm.io/package/glob.md) ^5.0.14
- [rsvp](https://npm.io/package/rsvp.md) ^3.0.20
- [eswalk](https://npm.io/package/eswalk.md) ^1.0.2
- [esprima](https://npm.io/package/esprima.md) ^2.5.0
- [escodegen](https://npm.io/package/escodegen.md) ^1.6.1

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.2.1 (latest) — 2015-08-06
- 1.2.0 — 2015-08-05
- 1.1.0 — 2015-08-05
- 1.0.0 — 2015-08-05

## README

put-packages-in-requirejs-config
===============================

A simple module to update a requirejs config to include packages from a
CommonJS Packages/A directory.

Tastes great, and goes well with [`copy-browser-modules`](https://github.com/aredridel/copy-browser-modules).

Use:
----

```javascript
var insertPackagesFromPathIntoConfig = require('put-packages-in-requirejs-config');

insertPackagesFromPathIntoConfig('path/to/packages', 'path/to/config/file' /* , 'path/to/target/config/file' */).then(function() {
    console.log('success!');
}).catch(function (err) {
    console.error('that went bad', err);
});
```

The last argument is completely optional, and if not given, the original config
file will be updated.

---
_Source: https://npm.io/package/put-packages-in-requirejs-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
