
LDA.js
This Node.js library implements Latent Dirichlet Allocation topic modeling in JavaScript.

About LDA.js
LDA.js is a Node.js library that implements Latent Dirichlet Allocation to extract topics and related keywords from a collection of documents. The caller provides documents as an array and specifies the number of topics and terms per topic to return.
It returns topics as arrays of term and probability objects, filters common words using stop-words lists, and supports language selection and a fixed random seed for repeatable output.
Key features
- Extracts topics and related keywords from document collections
- Returns topics as arrays of term and probability objects
- Lets users specify number of topics and terms
- Filters common terms using English stop-words by default
- Supports other stop-words lists via language ID arrays
- Allows fixed random seed for repeatable results
- Installs via npm and runs with a single function call
- Includes support for multiple stop-words languages and custom lists
- Offers a random seed option for consistent output across runs
LDA.js at a glance
- Category
- Development › Developer Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Developer Tools
LDA.js alternatives
Tools and sites you could use instead, ranked by how closely they match.
Machine learning pipelines can use whylogs, an open-source library for logging data quality and model performance.
Prediction with gradient boosting regression tree models is implemented in leaves, a Go software library.
Netron displays neural network, deep learning, and machine learning models across formats such as ONNX, TensorFlow, and PyTorch.
Weights & Biases supports model training, fine tuning, and management from experimentation through production.
Python developers can use gensim for topic modeling and related natural language processing tasks.
Python developers can use Zipline’s event-driven library to backtest algorithmic trading strategies.
Popular in Developer Tools
Well-known listings from the same topic.
LDA.js FAQ
What format does LDA.js output?
How do I use stop-words for another language?
How can I get the same results on repeated runs?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.













