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

piece-desearch

v0.0.1

Published

Desearch web search custom piece for Activepieces

Readme

Desearch for Activepieces

piece-desearch provides a Web Search action that returns titles, links, and snippets from Desearch.

Create an Activepieces connection using the required API Key field. The action sends a Bearer-authenticated GET to https://api.desearch.ai/web. Query is required. Result Count defaults to 10, must be a positive integer, and is capped at 20. The piece does not read environment variables for authentication.

Install as a custom piece

Platform installation

Build locally with Node.js 22 or newer:

npm install
npm run build
npm pack

In Activepieces, open Platform admin > Pieces > Install from npm, enter piece-desearch and the version once published. Current interfaces may place Pieces under Catalogue. Before npm publication, choose Upload tarball and upload piece-desearch-0.0.1.tgz. Custom piece availability depends on your deployment and platform permissions. Add the piece to the relevant piece set if required.

Installing this package with npm alone does not register it in an Activepieces instance.

Self-hosted development

Use an Activepieces source checkout. Copy this package into packages/pieces/custom/desearch, include it in that checkout's workspace/build configuration, and build the piece into the checkout's local dist layout using its piece build command. Enable it in the checkout's .env.dev:

AP_DEV_PIECES=desearch npm start

AP_DEV_PIECES selects pieces already built in the Activepieces checkout. It does not install arbitrary npm packages. For deployed self-hosted instances, use the platform tarball installation above.

Verification

npm run build
npm test
npm run lint
npm run typecheck
npm run live_check
npm pack

The live check requires DESEARCH_API_KEY already present in the process environment. It passes that value as the action connection auth and prints only the result count and first title. Do not put credentials in files or shell command arguments.

The package uses TypeScript to build CommonJS JavaScript and declarations into dist. main and types point to those outputs. Activepieces framework and common libraries are peer dependencies, with matching development versions locked for verification. Unit tests mock HTTP and invoke the registered action.

Publish notes

The npm organization is @desearch. Publication requires Temo OK, npm organization permission, and npm login. After approval and login, verify the package contents and run:

npm publish --access public

Increment the version for later releases. This work does not publish, sign in, or push.

References

Docs checked on 2026-10-29:

Based on the Desearch community piece in the Activepieces source checkout.