Socket
Socket
Sign inDemoInstall

fulcrum-core

Package Overview
Dependencies
5
Maintainers
2
Versions
108
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fulcrum-core

Fulcrum Core


Version published
Maintainers
2
Install size
4.02 MB
Created

Readme

Source

Fulcrum Core

The JavaScript object model for Fulcrum.

Includes:

  • Form schema parsing and definitions
  • Record parsing and field value definitions
  • Record (and child record) titles
  • Address field formatting
  • Date/time localization
  • Number localization (1.337,00 vs 1,337.00)
  • Currency formatting
  • Choice and classification set label lookups
  • Visibility and requirement conditions
  • Required field validations
  • Min/max validations
  • Pattern validations
  • Default values
  • Canonical definitions of "emptiness" / blank / length / etc
  • JSON serialization for all field types
  • Formatting calculation fields
  • Full support for record link fields and repeatables

Setup

yarn install

Tests

yarn test

Console

Starts an interactive node terminal with the library available to use

./console

Publishing

  • yarn clean && yarn build
  • Bump package.json version
  • Merge to main
  • Checkout main, git pull
  • git tag -a vx.x.x -m "x.x.x"
  • git push origin --tags
  • Create vx.x.x release for tag in github
    • Choose the tag and use tag as the release title
    • Auto-generate release nots
    • Click the "Publish release" button
  • Publish to the public NPM registry
    • mv $HOME/.npmrc $HOME/fulcrum.npmrc
    • npm login
    • yarn publish
  • Restore your .npmrc file
    • mv $HOME/fulcrum.npmrc $HOME/.npmrc

Keywords

FAQs

Last updated on 04 Apr 2024

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc