solidity-linked-list

6.2.0 • Public • Published

Solidity Linked List

NPM Package CI Coverage Status MIT licensed

An utility library for working with sorted linked list data structures in your Solidity project.

Install

npm install solidity-linked-list

Usage

pragma solidity ^0.8.0;

import {StructuredLinkedList} from "solidity-linked-list/contracts/StructuredLinkedList.sol";

contract MyContract {
    using StructuredLinkedList for StructuredLinkedList.List;

    StructuredLinkedList.List list;

    // your stuff
}

Code

Documentation

Code Analysis

Development

Install dependencies

npm install

Compile

npm run compile

Test

npm test

Code Coverage

npm run coverage

Linter

Check Solidity files

npm run lint:sol

Check JS/TS files

npm run lint:js

Fix JS and Solidity files

npm run lint:fix

License

Code released under the MIT License.

/solidity-linked-list/

    Package Sidebar

    Install

    npm i solidity-linked-list

    Weekly Downloads

    109

    Version

    6.2.0

    License

    MIT

    Unpacked Size

    48 kB

    Total Files

    6

    Last publish

    Collaborators

    • vittominacori