Code Monkey home page Code Monkey logo

feathers-hooks-common's Introduction

feathers-hooks-common

Greenkeeper badge

Build Status Dependency Status Download Status Slack Status

Useful hooks for use with Feathers services.


Use feathers-hooks-common v3.10.0 with FeathersJS v2 (Auk).

Use feathers-hooks-common v4.x.x with FeathersJS v3 (Buzzard).

Migration to v4 (for FeathersJS v3 Buzzard) from v3 (for FeathersJSv2 Auk).

  • Docs moved to feathers-plus web site.

  • v4.x.x now supports FeathersJS v3 (Buzzard). Continue using v3.10.0 for FeathersJS v2 (Auk).

    • Removed:

      • Removed support for the deprecated legacy syntax in populate.
      • Removed the deprecated remove hook in favor of discard.
    • Deprecated. These will be removed in FeathersJS v3 (Crow).

      • Deprecated pluck in favor of iff(isProvider('external'), keep(...fieldNames)). Be careful!
      • Deprecated the client in favor of the paramsFromClient.
    • Added modules. They work with both FeathersJS v2 and v3.

      • fastJoin hook - Very fast alternative to populate.
      • makeCallingParams utility - Help construct context.params when calling services.

Documentation

Refer to Feathers-Plus web site..

Installation

Run npm install feathers-hooks-common --save in your project folder (installs the latest v4 release).

Tests

npm test to run tests.

License

See LICENSE.

feathers-hooks-common's People

Contributors

eddyystop avatar daffl avatar nickbolles avatar bertho-zero avatar beeplin avatar corymsmith avatar greenkeeper[bot] avatar adamvr avatar diastremskii avatar ekryski avatar steffenlanger avatar bitflower avatar rodeyseijkens avatar sean-nicholas avatar m4n0v31 avatar nikitavlaznev avatar antarasi avatar protoss78 avatar kidkarolis avatar j2l4e avatar dekelev avatar danieledler avatar brane53 avatar superbarne avatar mxgr7 avatar musicformellons avatar bravo-kernel avatar alerosa avatar rubyrubenstahl avatar ahdinosaur avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.