UNPKG

@treblle/directus-extension-treblle

Version:

[Treblle](https://treblle.com/) integration for [Directus](https://directus.io/), integrated as an extension in a form of hook, using `middlewares.after` event.

22 lines (14 loc) 578 B
### Treblle Directus Extension [Treblle](https://treblle.com/) integration for [Directus](https://directus.io/), integrated as an extension in a form of hook, using `middlewares.after` event. #### Install ``` npm install @treblle/directus-extension-treblle ``` #### Configuration Use environment variables for providing Treblle credentials and configuration. Directus already supports `.env` file, so it enough to just append your variables there. ``` TREBLLE_API_KEY=api_key TREBLLE_PROJECT_ID=project_id TREBLLE_SHOW_ERRORS=true TREBLLE_FIELDS_TO_MASK=["password"] ```