npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

signmx-sdk

v1.1.5

Published

TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.

Readme

Introduction

TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.

Getting Started

TODO: Guide users through getting your code up and running on their own system. In this section you can talk about:

  1. Installation process
  2. Software dependencies
  3. Latest releases
  4. API references

Build and Test

TODO: Describe and show how to build your code and run the tests.

Contribute

TODO: Explain how other users and developers can contribute to make your code better.

If you want to learn more about creating good readme files then refer the following guidelines. You can also seek inspiration from the below readme files:

How to use it

import createSDK from './sdk';
const sdk = createSDK({ apiBaseUrl: 'https://api.example.com', apiKey: 'your-api-key' });

sdk.users.getUserById(1).then(user => console.log(user)).catch(err => console.error(err));

In case this error

The error might be happening because Rollup cannot find the index.d.ts file in the expected location. This can occur if the .d.ts files are not being generated correctly or the paths in the rollup.config.js are incorrect.

Steps to Fix the Issue:

  1. Ensure .d.ts Files are Being Generated First, check if .d.ts files are being generated in your dist/types folder by running: npx tsc --declaration This command will compile your TypeScript files and generate .d.ts files as per the tsconfig.json configuration. Ensure that the dist/types directory is created and contains the index.d.ts file.

  2. Verify tsconfig.json Declaration Settings Make sure that tsconfig.json has the correct settings to generate declaration files. The key settings are:

{
  "compilerOptions": {
    "declaration": true,
    "declarationDir": "./dist/types",
    "emitDeclarationOnly": true,
    "outDir": "./dist"
  },
  "include": ["src/**/*.ts"],
  "exclude": ["node_modules", "dist"]
}

Ensure that the declarationDir is correctly pointing to dist/types, and TypeScript should generate .d.ts files in that location.

  1. Check Rollup Configuration for .d.ts Files Ensure your rollup.config.js is pointing to the correct location where the .d.ts files are generated.

Here’s an updated rollup.config.js:

import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import typescript from '@rollup/plugin-typescript';
import dts from 'rollup-plugin-dts';

export default [
  // Build the SDK (ESM and CJS)
  {
    input: 'src/index.ts',
    output: [
      {
        file: 'dist/esm/index.js',
        format: 'es',
        sourcemap: true
      },
      {
        file: 'dist/cjs/index.js',
        format: 'cjs',
        sourcemap: true
      }
    ],
    plugins: [
      resolve(),
      commonjs(),
      typescript({ tsconfig: './tsconfig.json' })
    ],
    external: ['axios'] // Add any external dependencies here
  },

  // Build TypeScript declarations
  {
    input: 'dist/types/index.d.ts', // Ensure this path matches where your declaration files are being generated
    output: [
      { file: 'dist/esm/types/index.d.ts', format: 'es' }
    ],
    plugins: [dts()],
  }
];

In this configuration:

The input: 'dist/types/index.d.ts' must match the location where your .d.ts files are generated by TypeScript (from the tsconfig.json settings). Ensure that .d.ts files are being generated into the dist/types directory. 4. Rebuild with TypeScript First You can try building the TypeScript files first to make sure the .d.ts files are correctly generated:

npx tsc --emitDeclarationOnly

Then verify that dist/types/index.d.ts exists. If it does, you can proceed to run the Rollup build:

npm run build

  1. Check Rollup and TypeScript Versions Ensure you're using compatible versions of Rollup and TypeScript. For example:

Rollup: ^2.x.x TypeScript: ^4.x.x You can check and update them with the following commands:

npm install rollup typescript --save-dev

  1. Manually Check the dist Folder Check the contents of your dist folder after running npx tsc to ensure the .d.ts files are being generated in the expected locations. If they are not, there might be an issue with your tsconfig.json or build process.