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.0 to 0.6.1

0

dist/cjs/dag.js

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

5

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

@@ -49,4 +49,3 @@ "main": "dist/cjs/index.js",

},
"sideEffects": false,
"gitHead": "41b21b3b6698230911a5eb8a989e25301f337033"
"sideEffects": false
}

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

# Directed Acyclic Graph in TypeScript
# 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)
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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