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

jovo-nlu-nlpjs

v3.6.1

Published

> To view this page on the Jovo website, visit https://v3.jovo.tech/marketplace/jovo-nlu-nlpjs

Readme

NLP.js NLU Integration

To view this page on the Jovo website, visit https://v3.jovo.tech/marketplace/jovo-nlu-nlpjs

Learn how to use the open source NLP.js library as natural language understanding (NLU) integration with the Jovo Framework.

About NLP.js

NLP.js is an open source natural language understanding (NLU) library with features like entity extraction, sentiment analysis, and language detection.

Being open source, you can host NLP.js on your own servers without any external API calls.

Getting Started with NLP.js and Jovo

You can use the Jovo NLP.js integration for projects where you receive raw text input that needs to be translated into structured meaning to work with the Jovo intent structure. Patforms like the Jovo Core Platform (e.g. in conjunction with the Jovo Web Client), Facebook Messenger, and Google Business Messages are some examples where this would work.

Smaller NLP.js language models are fast to train and can even be used on serverless infrastructure like AWS Lambda without having to use any additional server infrastructure. We recommend taking a close look at the execution times though, as larger models can take quite some time to build.

To get started, download the package:

$ npm install --save jovo-nlu-nlpjs

As mentioned above, NLP.js works with platforms that provide raw text input. You can add the integration to the platform using the use method.

The below example uses the Jovo Core Platform as an example:

// @language=javascript

// src/app.js

const { NlpjsNlu } = require('jovo-nlu-nlpjs');

corePlatform.use(new NlpjsNlu());

app.use(corePlatform);

// @language=typescript

// src/app.ts

import { NlpjsNlu } from 'jovo-nlu-nlpjs';

corePlatform.use(new NlpjsNlu());

app.use(corePlatform);

Configuration

Languages

You can add languages to your integration like this:

// @language=javascript

// src/app.js

const { NlpjsNlu } = require('jovo-nlu-nlpjs');

const nlpjsNlu = new NlpjsNlu({
  languages: ['de', 'en'],
});

// @language=typescript

// src/app.ts

import { NlpjsNlu } from 'jovo-nlu-nlpjs';

const nlpjsNlu = new NlpjsNlu({
  languages: ['de', 'en'],
});

You can add languages by installing their NLP.js packages:

$ npm install --save @nlpjs/lang-de

Callback

You can add a callback function to train your model:

// @language=javascript

// src/app.js

const { NlpjsNlu } = require('jovo-nlu-nlpjs');

const nlpjsNlu = new NlpjsNlu({
  setupModelCallback: async (handleRequest, nlp) => {
    // Do stuff
  },
});

// @language=typescript

// src/app.ts

import { NlpjsNlu } from 'jovo-nlu-nlpjs';

const nlpjsNlu = new NlpjsNlu({
  setupModelCallback: async (handleRequest, nlp) => {
    // Do stuff
  },
});

Jovo Model

You can use the Jovo Model to turn the language model files in your models folder into an NLP.js model. Learn more about the NLP.js Jovo Model integration here.

Here is an example how to extend the Jovo Model with a custom input type for NLP.js.