This package has been deprecated

Author message:

no longer supported

@dags/core
TypeScript icon, indicating that this package has built-in type declarations

0.8.4 • Public • Published

Welcome to the DAGs

This is the core module of the dags monorepo.


NPM module version CI status GitHub issues NPM Downloads Bundle Size MIT License


Installing DAGs

To use DAG modules, all you need to do is install the @dags/core package:

$ yarn add @dags/core

# or

$ npm install @dags/core

Usage

At the moment, the library exposes such modules:

  • dag
  • dag-local
  • uid-local
  • uid-uuid

For example, you can use the dag module like this:

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)

Package Sidebar

Install

npm i @dags/core

Weekly Downloads

0

Version

0.8.4

License

MIT

Unpacked Size

10.9 kB

Total Files

8

Last publish

Collaborators

  • alexanderlapygin