Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crude

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crude

Seamless CRUD control operations for node.

  • 0.5.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-81.82%
Maintainers
1
Weekly downloads
 
Created
Source

node-crude

Seamless CRUD control operations for node.

Currently works with Express and [Mongoose or Sequelize].

Install

npm install crude --save

Documentation

Still in alpha

Stack

This package assumes you have the following stack:

  • Mongoose
  • Express
  • connect-flash
  • Jade

Authors

  • @thanpolas

Release History

  • v0.5.5, 03 Jul 2014
    • Don't expose the API Test Helper, it requires the whole testing stack, make a different package instead.
  • v0.5.3, 03 Jul 2014
    • Remove debug logging.
  • v0.5.2, 01 Jul 2014
    • Create and expose API Test Helper for easily testing API endpoints.
  • v0.5.1, 26 Jun 2014
    • author test for more complex queries using between by means of from / to.
  • v0.5.0, 26 Jun 2014
    • renamed option noPagination to pagination
    • Decoupled all CRUD ops to separate modules
    • Added query filtering options for Read OP
    • Added dateField option
  • v0.4.2, 01 May 2014
    • Check for req.body.id first, req.params.id second on update.
  • v0.4.1, 24 Apr 2014
    • Enable customizable entityCreate op.
  • v0.4.0, 12 Apr 2014
    • Added ownUser switch, will not enforce own user policy on CRUD ops.
    • More customization options.
    • Improved how errors are handled.
    • Bug fixes
  • v0.3.11, 06 Apr 2014
    • Create sanitizeResult option callback.
  • v0.3.10, 28 Mar 2014
    • Fix edit item bug for list view ONCE AND FOR ALL!!!! (ok maybe not).
  • v0.3.9, 11 Mar 2014
    • Fix list item link on default list view.
    • Allow Custom Labels for default views.
  • v0.3.7, 04 Mar 2014
    • Fix baseUrl() method for urls with no :id.
  • v0.3.6, 27 Feb 2014
    • Views piping fixes.
    • Make the entity methods configurable
    • honor excludePaths in item view
    • refactor how baseUrl is produced
    • rewire how update handles success
    • inject query callback on pagination
    • accept itemView and listView options
  • v0.3.5, 23 Feb 2014
    • Implement DELETE, about time.
  • v0.3.4, 23 Feb 2014
    • Fix symbol bug.
  • v0.3.3, 23 Feb 2014
    • JSON requests with pagination now get the Link HTTP header
    • Better handling of CRUD responses based on requested accepts header.
  • v0.3.2, 22 Feb 2014
    • Update router module to new API.
  • v0.3.1, 22 Feb 2014
    • Removed all args from ctor, introduced setEntity() and setOptions() methods.
  • v0.3.0, 22 Feb 2014
    • Changed constructor signature, now only accepts an Entity and optional options.
  • v0.2.3, 19 Feb 2014
    • Upgrade all dependencies to latest.
    • Perform a READ after an UPDATE.
    • Bug fixes.
  • v0.2.2, 18 Feb 2014
    • Bug fixes.
  • v0.2.1, 17 Feb 2014
    • Lazy instantiate Entities.
  • v0.2.0, 17 Feb 2014
    • Upgrade to 0.2.1 Entity and Cip packages.
  • v0.1.1, 12 Feb 2014
    • Now accepts both an instance and a constructor for Entity DI.
    • Ctor optimizations.
  • v0.1.0, 12 Feb 2014
    • Updated to Entity 0.1.x
  • v0.0.12, 10 Oct 2013 Bug fixes.
  • v0.0.11, 10 Oct 2013 Entities moved to their own repo
  • v0.0.3, 15 Jul 2013
    • Integrated Middlewarify and made all Entity primitive methods middleware.
    • Added Entity tests
  • v0.0.2, 21 Jun 2013
    • Big Bang

License

Copyright 2014 Thanasis Polychronakis

Licensed under the MIT License

Keywords

FAQs

Package last updated on 03 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc