@js-entity-repos/core

Provides common interfaces and tests for concrete implementations of js-entity-repos.

Stats

StarsIssuesVersionUpdatedCreatedSize
@js-entity-repos/core
5269.1.13 years ago4 years agoMinified + gzip package size for @js-entity-repos/core in KB

Readme

core

Provides common interfaces and tests for concrete implementations of js-entity-repos. The js-entity-repos use the repository design pattern and attempt to reduce the code required in JavaScript projects with entities.

Usage

FeathersJS

The project has some similarities with parts of the FeathersJS framework, but unfortunately I've found the following issues with FeathersJS.

  • Their pagination uses skip and limit instead of cursors which causes issues as discussed by Rakhitha Nimesh.
  • Their service interface is missing some functions provided in the Facade here.
  • Their errors take messages instead of parameters making it harder to support localisation.

Thanks

Thanks to James, Mariusz, and Pete at HT2 Labs for their feedback.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.