
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
@polyfact/vectorizer
Advanced tools
Here is a README generated from the code snippet:
Vectorize code repositories and PDFs into vector representations using Polyfact AI.
npm install @polyfact/vectorizer
Or install globally to use the CLI:
npm install -g @polyfact/vectorizer
import Vectorizer, { SourceType } from "@polyfact/vectorizer";
const vectorizer = new Vectorizer(token, maxTokens, SourceType.DIRECTORY);
const files = await vectorizer.readFiles(filePaths);
await vectorizer.vectorize(files, progressCallback);
const memoryId = vectorizer.getMemoryId();
$ @polyfact/vectorizer --help
Usage: @polyfact/vectorizer [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
repo [files...] Transform your entire repository into a vector representation
pdf [files...] Transform your entire PDFs into a vector representation
help [command] display help for command
Vectorize a code repository:
$ @polyfact/vectorizer repo src/ --token abc123 --max-token 1000
Vectorize PDF files:
$ @polyfact/vectorizer pdf file1.pdf file2.pdf --token abc123
The memory ID will be output after vectorization to use in your project with the Polyfact SDK.
MIT
FAQs
Here is a README generated from the code snippet:
We found that @polyfact/vectorizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.