New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@graasp/sdk

Package Overview
Dependencies
Maintainers
4
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graasp/sdk

Development kit including type definitions and util functions for the Graasp ecosystem.

latest
Source
npmnpm
Version
5.18.1
Version published
Weekly downloads
1.1K
84.2%
Maintainers
4
Weekly downloads
 
Created
Source

Graasp SDK

Latest version published on NPM Latest version released on Github NPM package downloads per month example branch parameter typescript version

This repository contains all shared utils and types for the Graasp ecosystem.

Installation

Use pnpm to install the packages.

pnpm i

Testing

This project uses vitest as the test runner. It is fast, supports ESM and has an API similar to Jest (which was used previously).

To start the tests run:

pnpm test

The tests will run in watch mode, meaning that when you edit a file, the tests in that file (or any test file depending on that file) will be re-run. This allows for a fast feedback loop.

Building

This package exposes a ESM and a CommonJS build as well as type declarations for Typescript.

To build the package:

pnpm build

The structure is as follows:

  • esm contains the javascript files to use with ECMAScript Modules (ESM) it is built with the tsconfig.esm.json file.
  • cjs contains the javascript files to use with CommonJS it is built with the tsconfig.cjs.json file.
  • types contains the type declarations for Typescript it is built with the tsconfig.types.json file.

The last bit of the build process is to add a single line package.json file in esm and cjs with the correct value for the type key (commonjs for cjs and module for esm).

Contributors

FAQs

Package last updated on 10 Mar 2026

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