1.0.9 • Published 6 months ago

lb4-fuzzy v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

lb4-fuzzy

This is a basic CLI utility to add fuzzy search feature to a loopback 4 application.

Installation

Run the following command to install the CLI.

$ npm install -g lb4-fuzzy

Prerequisites

  • Run the cli in a LoopBack 4 project.
  • Run the cli after the models and their repositories are already generated.

Basic Use

Run lb4-fuzzy --fuzzy true --centralFuzzy true --datasource localsource or lb4-fuzzy --config '{"fuzzy": true, "centralFuzzy": true, "datasource": "localsource"}' generate fuzzy APIs.

Options

  • fuzzy: to generate fuzzy APIs for each controller available in the app
  • centralFuzzy: to generate a central fuzzy api
  • datasource: provide the datasource

APIs generated

  • for each controller, a new route /{plularized-model-name}/fuzzy/{search-term} is generated
  • for central fuzzy endpoint, a new route /central-f/{search-term} is generated

License

ISC

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

8 months ago

1.0.4

11 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago

1.0.3

12 months ago

0.0.30

1 year ago

0.0.31

1 year ago

0.0.32

1 year ago

0.0.29

1 year ago

0.0.27

1 year ago

0.0.28

1 year ago

0.0.26

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.17

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago