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

n8n-nodes-universal-json-parser

v0.1.11

Published

n8n community node for converting any input to valid JSON

Readme

n8n-nodes-universal-json-parser

Community node for n8n that parses arbitrary input into valid JSON.

Compatibility

  • n8n >= 1.120.4
  • Node.js >= 22 for local npm install / npm ci (peer n8n-workflow pulls isolated-vm@6, which requires Node 22+)

Node

  • Universal JSON Parser
    • Input: any expression value from n8n (string, object, array, primitive)
    • Output: normalized JSON in item.json
    • Modes:
      • Per Item: output item count equals input item count
      • Aggregate To One Item: merge all input items into one output item

Behavior

  • Tries JSON.parse for string values
  • Parses fenced markdown JSON like ```json ... ```
  • Converts true, false, null, numeric strings to corresponding JSON types
  • Converts Date to ISO string
  • Converts Buffer to UTF-8 string, then parses/normalizes
  • Replaces unsupported JSON values (undefined, function, symbol) with null
  • Detects circular references and replaces them with "[Circular]"
  • Wraps non-object top-level values into { "value": ... }

Install in n8n

For self-hosted n8n:

  1. Open Settings -> Community Nodes
  2. Click Install
  3. Enter package name: n8n-nodes-universal-json-parser
  4. Confirm installation and restart n8n if prompted

Local development

npm install
npm run lint
npm run build

Release flow (Git + ручная публикация в npm)

Автопубликация из GitHub Actions не используется (на npm для Trusted Publishers нужен 2FA / привязка репозитория). Релиз делается вручную с твоей машины.

1. Код в Git

git add .
git commit -m "feat: ..."
git push origin main

2. Версия в package.json

Подними версию (например патч):

cmd /c npm version patch

Или отредактируй version в package.json вручную и обнови package-lock.json через npm install.

3. Логин в npm

На Windows в PowerShell удобнее обходить политику выполнения так:

cmd /c npm whoami

Если не залогинен:

cmd /c npm login

Либо один раз через Granular Access Token (как ты уже делал):

cmd /c npm config set //registry.npmjs.org/:_authToken=ТВОЙ_ТОКЕН

4. Публикация

Сборка запустится сама из скрипта prepublishOnly:

cmd /c npm publish --access public

Локальная публикация без --provenance (provenance в основном для CI / Trusted Publishing).

5. Проверка

npm view n8n-nodes-universal-json-parser version

После этого пользователи self-hosted ставят пакет через Settings -> Community Nodes по имени n8n-nodes-universal-json-parser.