# crudex

> CRUD+ controllers for bex

Latest version **0.0.1** (published 2015-12-08) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2015-12-08 |
| First published | 2015-12-08 |
| 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 | 0 |
| Author | Constantin Titarenko |
| Maintainers | titarenko |
| Keywords | crud, controller, bex, express, web |

## Links

- npm: https://www.npmjs.com/package/crudex
- Repository: https://github.com/titarenko/crudex
- Homepage: https://github.com/titarenko/crudex#readme
- Issues: https://github.com/titarenko/crudex/issues
- npm.io page: https://npm.io/package/crudex

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [bluebird](https://npm.io/package/bluebird.md) ^3.0.6

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2015-12-08

## README

# crudex

CRUD+ controllers for [bex](https://www.npmjs.com/package/bex)

## Example

```js
require('crudex')(db, {
	table: 'table',
	view: 'v_table',
	validator: {
		name: v.isLength(10),
		email: v.isEmail()
	},
	create: {
		before: function (params) {
			params.password = bcrypt(params.password);
		}
	},
	'&/plus10/:param': function (params) {
		return this.json({ param: params.param + 10 });
	}
})
```

## todo: good readme

## License

MIT

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