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

@schift-io/workflow-n8n

v0.1.1

Published

Import and project n8n workflow exports through Schift Workflow v2.

Readme

@schift-io/workflow-n8n

Import n8n workflow exports into canonical Schift Workflow v2 JSON and project Workflow v2 JSON back into an n8n-like export shape.

import { fromN8n, asN8n, analyzeN8nLoss } from "@schift-io/workflow-n8n";

const workflowV2 = fromN8n(n8nExport);
const losses = analyzeN8nLoss(n8nExport);
const n8nExportAgain = await asN8n(workflowV2);

This package is an import/projection compatibility layer. It does not execute n8n nodes, run an n8n server, or bundle n8n node implementations.

First-class mappings

Common n8n node concepts are normalized into Schift Workflow v2 block types:

  • triggers: manual_trigger, schedule_trigger, webhook_source
  • flow: condition, filter, switch, merge, loop, wait
  • data transformation: set, aggregate, sort, limit, split_out, summarize, remove_duplicates, datetime
  • execution and integrations: http_request, code, subworkflow
  • agent concepts: ai_agent, LangChain chat models as llm_generate, LangChain embeddings as embedder
  • Schift first-party document-helper AWP primitives: document_helper_hwpx_mutate, document_helper_hwpx_render_pages, document_helper_pdf_from_png_pages, document_helper_pdf_merge, and document_helper_office_convert_pdf
  • Hub trigger concepts: Gmail inquiry triggers and Notion change triggers are preserved as draft/preview intent when present in the source workflow. They do not imply credential transfer or automatic external writes.

Unknown or runtime-owned nodes are preserved as raw config with n8n_conversion_loss metadata so callers can review what needs a clean-room runtime binding. Runtime bridge nodes such as executeWorkflow and LangChain Agent are still marked with medium conversion loss because their bindings, sidecar ports, and credentials need operator review before execution. Gmail send/reply/label/archive actions and Notion create/update/comment/archive actions should also stay review-gated after import. Document-helper blocks are Schift-owned runtime bindings. They call Schift API and the private document-helper service for HWPX mutation, render, Office-to-PDF, and PDF bundle operations; business approval, evidence checks, and billing stay in the surrounding AWP workflow.

Test contract

test/index.test.ts covers import, reverse projection, conversion-loss metadata, sidecar-port loss recording, and the first-class n8n-derived node concept list above.