@stellar/frontend-helpers
TypeScript icon, indicating that this package has built-in type declarations

2.1.4 • Public • Published

Frontend Helpers

This repo contains useful functionality that we often have to duplicate across different projects.

The goal is to have fewer lines of codes that we have to maintain, so anything that we do in more than one repo should live here.

Structure

All functions are organized under the src/helpers folder with colocated Markdown files to explain usage.

Installation

yarn add @stellar/frontend-helpers

Adding helpers

  • Create a directory with the name of the helper method.
  • Inside the directory:
    • create index.ts for the main code of the method,
    • if necessary, add README.md file with context and/or instructions.
  • Export newly created helper to src/index.ts.

/@stellar/frontend-helpers/

    Package Sidebar

    Install

    npm i @stellar/frontend-helpers

    Weekly Downloads

    104

    Version

    2.1.4

    License

    Apache-2.0

    Unpacked Size

    16.6 kB

    Total Files

    25

    Last publish

    Collaborators

    • piyalbasu
    • cassiomg
    • stellar-npm-ci
    • stellar-npm
    • bartekn
    • quietbits
    • jacekn
    • fnando_sdf