Skip to content

mjlux/mongoose-bread-url-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongoose-bread-url-builder

A Url Builder for mongoose-bread.

npm version unittests

Why This Plugin

mongoose-bread is a pagination and softdelete library for quick feature-rich setup of JSON apis. This package accompanies the frontend by creating urls with chainable methods, instead of string concatenation, to create api requests.

Dependencies

none

Installation

npm install mongoose-bread-url-builder

Quick Use

Import the plugin in your Project

// your imports
import BreadUrlBuilder from "mongoose-bread-url-builder";

const rootUrl = "https://api.example.com/api/v1/"

const urlBuilder = new BreadUrlBuilder(rootUrl)

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published