JSPM

absinthe-task-sdk

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q20120F
  • License MIT

Typescript SDK that allows clients to issue points for their users. This gives projects the ultimate flexibility to issue points for off-chain actions, not only on-chain ones that can be indexed for on the blockchain.

Package Exports

  • absinthe-task-sdk
  • absinthe-task-sdk/dist/index.js
  • absinthe-task-sdk/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (absinthe-task-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Absinthe Task SDK

Overview

Absinthe Task SDK is a TypeScript-based software development kit designed to help clients issue points for their users. This SDK provides flexibility for off-chain actions, complementing traditional on-chain indexing capabilities.

Key Features

  • TypeScript implementation for enhanced type safety and developer experience
  • Modular architecture with separate modules for points, projects, and utilities
  • Utilizes Axios for making HTTP requests
  • Supports both CommonJS and ES Modules

Project Structure

The project is organized into several directories:

src/absinthe-fetch/

Contains modules related to fetching data for Absinthe, including pointsData and projects.

src/points/

Contains modules related to points functionality.

src/

Main entry point for the SDK.

utils/

Utility modules containing helper functions and type definitions.

Installation

To install the Absinthe Task SDK, run:

  1. Clone the repository:
git clone https://github.com/venkateshSV/absinthe-task-sdk.git
  1. Navigate to the project directory:
cd absinthe-task-sdk
  1. Install dependencies:
npm install
  1. Run it locally
sudo npm run build && npm link

After running the build you can link the sdk globally and now can be used by

sudo npm link absinthe-task-sdk

API Documentation

For detailed API documentation, please refer to the API Documentation.