@stellar/frontend-helpers
v2.1.4
Published
A library of functions commonly used across many Stellar frontend projects
Downloads
242
Keywords
Readme
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.
- create
- Export newly created helper to
src/index.ts
.