@lokalise/fastify-extras
TypeScript icon, indicating that this package has built-in type declarations

5.3.1 • Public • Published

fastify-extras

Reusable plugins for fastify

Dependency management

The following needs to be taken into consideration when adding new runtime dependency for the fastify-extras package:

  • If dependency is an implementation detail, and end consumer is not expected to import and use the dependency directly, it should be a dependency;
  • If dependency needs to be imported and used by consumer directly for it to function properly, it should be a peerDependency.

Split IO plugin

Plugin has 3 modes:

  • enabled - will connect to using provided apiKey and store data in memory with background sync
  • localhost - will use localhost mode with features provided in a file via param localhostFilePath
  • disabled - on any request to SplitIOFeatureManager it will return control treatment

More info about Split IO can be checked here

Install

npm i @lokalise/fastify-extras

DownloadsWeekly Downloads

296

Version

5.3.1

License

Apache-2.0

Unpacked Size

66.2 kB

Total Files

45

Last publish

Collaborators

  • artursvonda
  • rupert-mckay
  • arthuracs
  • yury.kravtsov
  • filippos.mikropoulos
  • aplokalise
  • botlokalise
  • laurislokalise
  • marcocardosolok
  • kutanov
  • bodrovis