# rhapsodyjs-backbone

> BackboneJS adapter for RhapsodyJS models

Latest version **0.0.2** (published 2014-08-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install rhapsodyjs-backbone
pnpm add rhapsodyjs-backbone
yarn add rhapsodyjs-backbone
bun add rhapsodyjs-backbone
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2014-08-07 |
| First published | 2014-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | talyssonoc |
| Maintainers | talyssonoc |
| Keywords | backbone, rhapsody, model, mvc |

## Links

- npm: https://www.npmjs.com/package/rhapsodyjs-backbone
- Repository: https://github.com/rhapsodyjs/rhapsodyjs-backbone
- Issues: https://github.com/rhapsodyjs/rhapsodyjs-backbone/issues
- npm.io page: https://npm.io/package/rhapsodyjs-backbone

## Dependencies (2)

- [jsmin](https://npm.io/package/jsmin.md) ^1.0.1
- [lodash](https://npm.io/package/lodash.md) ^2.4.1

## Recent versions

- 0.0.2 (latest) — 2014-08-07
- 0.0.1 — 2014-07-28

## README

# RhapsodyJS Backbone adapter

Generate BackboneJS models from RhapsodyJS models

```sh
	$ npm install rhapsodyjs-backbone
```

The generated model uses the [UMD pattern](https://github.com/umdjs/umd/blob/master/returnExportsGlobal.js),
so it will work if you're using globals (with `<script>`), RequireJS or Browserify/CommonJS.

## Globals

The model will be accessible via the variable `Model`, and the collection will be acessible by the variable `ModelCollection`,
where Model is the name of your model.

## RequireJS and Browserify/CommonJS

The module object will be the following two attributes, `model` and `collection`.

Let's say that the module object is called `Model`: 

```js
	Model.model; //Gets the model
	Model.collection; //Gets the collection
```

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