Socket
Socket
Sign inDemoInstall

@flatfile/hooks

Package Overview
Dependencies
0
Maintainers
19
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @flatfile/hooks

- `npm run build` - Build the package - `npm run dev` - Run all development build and watch locally - `npm run lint` - Lint the packages - `npm run clean` - Removes `node_modules`, `dist` folder, and `.turbo` caches - `npm run test` - Run tests


Version published
Weekly downloads
22K
increased by12.15%
Maintainers
19
Created
Weekly downloads
 

Readme

Source

Hooks

  • npm run build - Build the package
  • npm run dev - Run all development build and watch locally
  • npm run lint - Lint the packages
  • npm run clean - Removes node_modules, dist folder, and .turbo caches
  • npm run test - Run tests

Testing layer versions

  1. build the /hooks package npm run build
  2. move /hooks/dist directory to /Downloads, rename it Downloads/data-hooks-sdk and compress it in a .zip file
  3. log into aws Flatfile Developers management console > Lambda > Layers > data-hooks-sdk
  4. click create version, upload .zip and add a description
  5. find an active data hook id in your local database data_hooks.lambda_arn (id starts with "generate:")
  6. navigate to Lambda > Functions and search for the data hook by id
  7. update the hook's layer version to the new one you just created
  8. run the hook in the management console Test tab with a sample payload

FAQs

Last updated on 09 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc