Socket
Book a DemoInstallSign in
Socket

@iy4u/tally

Package Overview
Dependencies
Maintainers
8
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iy4u/tally

Tally API wrapper for nodejs backends

1.1.1
latest
Source
npmnpm
Version published
Maintainers
8
Created
Source

tally-node

The Tally Node library provides convenient access to the Tally API from applications written in server-side JavaScript.

Documentation

See the [Video Demonstration] covering how to use the library.

Requirements

Node 12, 14 or higher.

Installation

Install the package with:

npm install @iy4u/tally --save
# or
yarn add @iy4u/tally

Usage

The package needs to be configured with your application's name and secret key, which is available in the [Tally Applications][applications].

const Tally = require('@iy4u/tally');

const secretKey = process.env.SECRET_KEY
const appName = process.env.APP_NAME

const tally = new Tally(secretKey,{appName})

// To get all records of assets a customer with peopleId = '60bfe4280a875e3711410553' owes

const allMyFoils = async () => {

  try {
    
    await this.tally.start();

    const params = { 
    
      query:{
            ownerID : '60bfe4280a875e3711410553'
        }
        
    }
  
    return this.tally.foils.find(params);

  } catch (error) {
  
    console.log(error);
  
  }

}

You can find a full FeathersJs server example in tally-samples.

Keywords

tally

FAQs

Package last updated on 17 Jun 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.