Skip to content

Open Source — vectools & n8n Workflows

npm package vectools $ npm install vectools

Resource Directory

Technical implementation and research artifacts associated with this project.

Open Source · npm Package · n8n Official Gallery

Two threads of open-source work: a small utility library for the AI embeddings ecosystem, and automation templates published in n8n’s official workflow gallery.

vectools (npm)

vectools is a zero-dependency, ESM-native utility library for vector mathematics, built for the growing ecosystem of AI embedding workflows in JavaScript and TypeScript. Working on semantic search, RAG pipelines, and embedding-based retrieval, the same low-level operations — cosine similarity, dot products, normalization — kept coming up without a lightweight, dependency-free option in the JS ecosystem.

import { cosineSimilarity } from 'vectools';

const score = cosineSimilarity([1, 2, 3], [1, 2, 4]);
// → 0.9914601339836674
  • Zero dependencies — no transitive supply-chain risk
  • Pure ESM — tree-shakeable, works natively in Node.js 12+, Deno, and browsers
  • TypeScript-first — ships with full .d.ts type definitions
npm install vectools

github.com/NavneetSinghArora/vectools · npmjs.com/package/vectools

n8n Workflows

Three workflow templates published under my n8n creator profile, covering AI-assisted document parsing and job search automation with Google Gemini: