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 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-presidio

v0.0.3

Published

Node-RED node for Microsoft Presidio Analysis and Anonymization

Downloads

1

Readme

node-red-contrib-presidio :package:

This is a subflow for interacting with the Microsoft Presidio Analyzer and Anonymizer services.

Install :zap:

Run the following command in your Node-RED user directory - typically ~/.node-red

    npm install node-red-contrib-presidio

Presidio Setup :gear:

The subflow requires Microsoft Presidio services to be running on the host or a remote server that is reachable by Node-RED. The documentation to install Presidio can be found here, we recommend using the Docker approach as follows:

docker run -d -p 5001:3000 mcr.microsoft.com/presidio-analyzer:latest
docker run -d -p 5002:3000 mcr.microsoft.com/presidio-anonymizer:latest

Once the containers are deployed, use the health check to see that the Presidio services are reachable

  • :information_source: POST localhost:1880/HealthCheck

HealthCheck

  • Health Check response payload:

HealthCheckResponse

Analyzer API :toolbox:

  • :information_source: POST localhost:1880/Presidio

The data payload parameter must be a string and you must define the function to analyze.

Analyzing PIIs :adult: :arrow_right:

  • Setting the payload of the Presidio Analysis injector:

Analysis1

Analysis Result :receipt: :back:

  • Analysis response payload:

Analysis2


Anonymizer API :toolbox:

:warning: Refer to Presidio API documents HERE

  • :information_source: POST localhost:1880/Presidio

The data payload parameter must be a string, you must also define the function to anonymize and which action to use for the PIIs (redact,replace,mask,hash,encrypt).

Hashing PIIs :adult: :receipt: :arrow_right:

  • Setting the payload of the Presidio Anonymization injector: Hash1

Hashing Response :receipt: :back:

  • Hashing response payload:

Hash2


Encrypting PIIs :adult: :receipt: :arrow_right:

  • Setting the payload of the Presidio Anonymization injector: Anonymize1

Encryption Response :receipt: :back:

  • Encryption response payload:

Anonymize2


Decrypting PIIs :receipt: :arrow_right:

  • Setting the payload of the Presidio Anonymization injector: Deanonymize1

Decryption Response :adult: :back:

  • Decryption response payload:

Deanonymize2