# crud

> Crud functionality for mongoose-models. Fits well with express.js

Latest version **0.0.28** (published 2012-06-05) · 0 weekly downloads

## Install

```sh
npm install crud
pnpm add crud
yarn add crud
bun add crud
```

## 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.28 |
| Published | 2012-06-05 |
| First published | 2012-05-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23 |
| Author | Henrik Kjelsberg |
| Maintainers | hkjels |
| Keywords | mongoose, express, crud, scaffold, rest |

## Links

- npm: https://www.npmjs.com/package/crud
- Repository: https://github.com/hkjels/crud
- Homepage: http://hkjels.github.com/crud/
- Issues: https://github.com/hkjels/crud/issues
- npm.io page: https://npm.io/package/crud

## Dependencies (1)

- [cycle](https://npm.io/package/cycle.md) 1.0.0

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.0.28 (latest) — 2012-06-05
- 0.0.27 — 2012-05-31
- 0.0.26 — 2012-05-31
- 0.0.25 — 2012-05-31
- 0.0.2 — 2012-05-14
- 0.0.1 — 2012-05-14

## README

# crud

This project is no longer maintained. 

__Crud-functionality for mongoose and express__


## Install

    λ npm install crud


## Usage

    var express = require('express')
      , app = express.createServer()
      , models = require('./models')

    require('crud')

    app.crud('modelname')

## REST-api

The action-mapping is inherited from
[express-resource](https://github.com/visionmedia/express-resource)
and is as follows

    GET     /forums              ->  index
    GET     /forums/new          ->  new
    POST    /forums              ->  create
    GET     /forums/:forum       ->  show
    GET     /forums/:forum/edit  ->  edit
    PUT     /forums/:forum       ->  update
    DELETE  /forums/:forum       ->  destroy


## Contributors

*	Henrik Kjelsberg <hkjels@me.com> 
[github](http://github.com/hkjels/ "Github account")


## License

> (The MIT License)
>
> Copyright (c) 2012 Henrik Kjerringvåg &lt;hkjels@me.com&gt;
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> 'Software'), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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