Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lopatnov/join

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lopatnov/join

Object join technics

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

@lopatnov/join

NPM version GitHub issues GitHub forks GitHub stars License

build-and-test-package publish-npm-package

Patreon Twitter

The TypeScript library template.

Install

https://nodei.co/npm/@lopatnov/join.png?downloads=true&downloadRank=true&stars=true

npm install @lopatnov/join

Browser

<script src="https://lopatnov.github.io/join/dist/library.min.js"></script>

Import package to the project

TypeScript

import sampleLibrary from "@lopatnov/join";

JavaScript

var sampleLibrary = require("@lopatnov/join");

How to use

As three separate operations

const rightJoin = join(JoinTypes.right);

const joinObject = rightJoin({
  sample1: "One",
  sample2: "Two",
  sample3: "Three",
});

const m = joinObject({
  sample2: "Dos",
  sample3: "Tres",
  sample4: "Quatro",
});

As a function

const c = join(JoinTypes.innerJoin)({
  sample1: "One",
  sample2: "Two",
  sample3: {
    smile: "cheese",
  },
})({
  sample2: "Dos",
  sample3: {
    sorrir: "queijo",
  },
  sample4: "Quatro",
});

Demo

See, how it's working: https://runkit.com/lopatnov/join

Test it with a runkit: https://npm.runkit.com/@lopatnov/join

Rights and Agreements

License Apache-2.0

Copyright 2020 Oleksandr Lopatnov

Keywords

FAQs

Package last updated on 09 Aug 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc