Socket
Socket
Sign inDemoInstall

node-relation

Package Overview
Dependencies
0
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-relation

Manage strings that are related to each other.


Version published
Weekly downloads
32
increased by220%
Maintainers
1
Install size
26.7 kB
Created
Weekly downloads
 

Readme

Source

node-relation

This module helps you manage string, numbers, and symbols as a group.

import { create, setRelation, getRelation } from 'node-relation'

const group = create()

setRelation(group, 'JavaScript', 'Node.JS')
setRelation(group, 'Node.JS', 'ES2018')
setRelation(group, 'ES2018', 'Webpack')

console.log( getRelation(group, 'ES2018') ) // [ 'JavaScript', 'Node.JS', 'ES2018', 'Webpack' ]

FAQs

Last updated on 06 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc