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/library-file-store

v1.0.0

Published

A File Store Library plugin for Node-RED

Downloads

53

Readme

Node-RED Library File Store Plugin

Requires Node-RED 1.3 or later.

Node-RED allows you to import and export flows from a local library. The built-in library stores its contents in ~/.node-red/lib.

This library plugin allows you to add additional libraries in other locations.

For example, you may have a directory that is shared on the local network, or automatically synced with a cloud service such as Dropbox.

If you are collaborating with other developers, this makes it easier to have a shared library to store reusable flows and components.

Installation

This module should be installed under ~/.node-red/ as you would any other Node-RED node module.

npm install @node-red/library-file-store

Configuration

  1. Edit your Node-RED settings file - typically ~/.node-red/settings.js

  2. Find the editorTheme section and add a library section if one does not already exist.

  3. Under that section add a sources array. Within that array you can add as many new file store sources as you want.

    editorTheme: {
        library: {
            sources: [
                {
                    id: "team-collaboration-library",
                    type: "node-red-library-file-store",
                    path: "/Users/tom/work/team-library/",
                    label: "Team collaboration",
                    icon: "font-awesome/fa-users"
                }
            ]
        },
    }

The configuration object can have the following properties:

Property | Description ---------|-------------- id | Required A unique, url-safe, identifier for the library. Should contain only letters, numbers and the symbols - _. type | Required Must be set to node-red-library-file-store path | Required The absolute path to the where the library should be stored label | An optional label to use in the editor, otherwise the id will be used. icon | An optional icon from FontAwesome 4.7. types | By default the library will be used to store all types of object. It can be restricted to certain types by setting this property to an array of the acceptable types. For example, to restrict it to just flows, set this property to ["flows"]. readOnly | To make this a read-only library so it can only be used to import from, set this property to true.