Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flatfile/hooks

Package Overview
Dependencies
Maintainers
21
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

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

  • 1.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
25K
decreased by-19.66%
Maintainers
21
Weekly downloads
 
Created
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

Package last updated on 19 Jan 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc