Socket
Book a DemoInstallSign in
Socket

@taxfyle/tfwidgets

Package Overview
Dependencies
Maintainers
15
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taxfyle/tfwidgets

Collection of embedable widgets for use in Taxfyle websites

1.0.8
latest
Source
npmnpm
Version published
Weekly downloads
8
Maintainers
15
Weekly downloads
 
Created
Source

Taxfyle Widgets

Collection of embedabble widgets to use wherever we may need. The output of these is a single file that can be added to a site via a script tag to power things like our tax calculators.

These are/will be used in our sites as we move to Webflow

Ideal usage of these is publishing the package to npm and just consuming the package via unpkg for free CDN goodness.

Development

The package is built with preact as a lightweight component renderer, microbundle for bundling, and a light engine to find the right DOM nodes to render into as well as to parse props from.

  • The src directory contains the source for all the scripts and components.
  • The example directory contains html files that can be used to test the usage of the widgets. Feel free to add more as needed.

To start the bundler we run npm run start which should watch for changes in our code and produce a collection of outputs inside the dist directory that are ready to use. We really only use the .umd.js file and the corresponding tfwidgets.css file, but the other formats might become useful at some point.

Running npm run serve starts a local server that serves every file in the directory. This can be used to develop locally by going to the corresponding html under the example directory

FAQs

Package last updated on 16 Apr 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.