Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to use npm package in Apache NIFI's Execute script processor ?
Labels:
- Labels:
-
Apache NiFi
Contributor
Created ‎04-05-2018 11:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am building a job in which I have to validate phone numbers and we wants to use 'google-libphonenumber' npm package. I am using javascript in executescript processor. What is the correct way to include the npm package?
1 REPLY 1
Master Guru
Created ‎04-05-2018 01:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might be able to use jvm-npm as a bridge to load that module, but see the documentation on the jvm-npm site for restrictions (such as needing to be a "pure" NPM module that does not depend on the Node.js API)
