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

@dags/dag

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dags/dag - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

0

CHANGELOG.md

@@ -0,0 +0,0 @@ # Change Log

2

package.json
{
"name": "@dags/dag",
"version": "0.6.1",
"version": "0.6.2",
"description": "Directed Acyclic Graph implementation",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

@@ -1,40 +0,1 @@

# Directed Acyclic Graph with global node identification
This is the core module of the dags monorepo.
<br>
<p align="center">
<a href="https://www.npmjs.com/package/@dags/core"><img alt="NPM module version" src="https://img.shields.io/npm/v/@dags/core"></a>
<a href="https://github.com/AlexanderLapygin/dags/actions?query=workflow%3Aci"><img alt="CI status" src="https://github.com/alexanderlapygin/dags/workflows/CI/badge.svg"></a>
<a href="https://github.com/AlexanderLapygin/dags/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/AlexanderLapygin/dags"></a>
<img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@dags/core.svg?style=flat"/>
<img alt="Bundle Size" src="https://badgen.net/bundlephobia/minzip/@dags/core"/>
<a href="https://github.com/AlexanderLapygin/dags/blob/master/LICENSE"><img alt="MIT License" src="https://img.shields.io/github/license/AlexanderLapygin/dags"></a>
</p>
<br />
## Install
```sh
$ yarn add @dags/core
# or
$ npm install @dags/core
```
## Usage
```ts
import { Dag } from '@dags/core'
const dag = new Dag()
const parent = dag.newNode()
const child = dag.newNode()
console.log(parent.equals(parent))
console.log(parent.equals(child))
dag.setParenthood(parent, child)
```
# this package has been deprecated use @dags/dag-global instead
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