Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Machine Learning
  3. Knwl.js

Knwl.js

MITJavaScriptv1.0.2

A JavaScript library for parsing text to extract dates, times, phone numbers, emails, places, and other structured information.

GitHubGitHub
5.3k stars209 forks0 contributors

What is Knwl.js?

Knwl.js is a JavaScript library that parses unstructured text to extract structured information like dates, times, phone numbers, emails, and places. It solves the problem of manually scanning and processing text for specific data points by automating detection and extraction. The library uses a modular plugin system to support various parsing tasks and languages.

Target Audience

Developers building applications that need to process and analyze text data, such as chatbots, content management systems, or data mining tools. It's particularly useful for those working with user-generated content, logs, or documents where structured information is embedded in free text.

Value Proposition

Developers choose Knwl.js for its simplicity, extensibility, and lightweight design. Unlike heavier NLP solutions, it focuses on specific, common parsing tasks with an easy-to-use plugin system, making it ideal for quick integration and customization without complex dependencies.

Overview

Find Dates, Places, Times, and More. A .js library for parsing text for specific information.

Use Cases

Best For

  • Extracting contact information from user-submitted forms or comments
  • Parsing dates and times from logs or historical documents
  • Building chatbots that need to understand dates, times, or locations in messages
  • Processing emails or support tickets to automatically identify key details
  • Adding text analysis features to content management systems
  • Creating tools for data mining or web scraping that require structured output

Not Ideal For

  • Projects requiring high-accuracy natural language processing beyond basic entity extraction
  • Teams needing a well-maintained library with regular updates and strong community support
  • Applications that must parse complex sentences or support multiple languages seamlessly out-of-the-box

Pros & Cons

Pros

Plugin Extensibility

The plugin-based architecture allows developers to add custom parsers, as documented in plugin_development.md, making it adaptable to new data types and languages without overhauling the core library.

Cross-Platform Support

Works in both Node.js and browser environments, with clear installation instructions for each, enabling deployment in diverse applications from servers to client-side web apps.

Default Parsers for Common Data

Includes ready-to-use plugins for dates, times, phones, emails, and links, simplifying integration for everyday parsing tasks without additional configuration or dependencies.

Cons

Experimental Plugin Inaccuracy

Plugins like english.js are labeled as experimental, rigid, and simplistic in the README, leading to unreliable results for complex parsing such as sentence structure analysis.

Uncertain Project Future

The README explicitly links to a GitHub issue discussing the project's future, indicating potential stagnation, lack of updates, and limited long-term support for users.

Limited Language and Feature Scope

Primarily focused on English and basic data types; lacks advanced NLP capabilities like sentiment analysis or robust multi-language parsing, requiring custom plugin development for expansion.

Frequently Asked Questions

Quick Stats

Stars5,251
Forks209
Contributors0
Open Issues13
Last commit2 years ago
CreatedSince 2013

Tags

#plugin-system#information-retrieval#natural-language-processing#javascript-library#browser-support#node-js#text-parsing#data-extraction

Built With

J
JavaScript
B
Browserify
N
Node.js

Included in

Machine Learning72.2k
Auto-fetched 11 hours ago

Related Projects

HuggingFace TransformersHuggingFace Transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

Stars164,972
Forks34,486
Last commit15 hours ago
jiebajieba

结巴中文分词

Stars35,145
Forks6,683
Last commit2 years ago
spacyspacy

💫 Industrial-strength Natural Language Processing (NLP) in Python

Stars33,882
Forks4,722
Last commit15 days ago
HaystackHaystack

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

Stars26,446
Forks3,098
Last commit22 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub