symbol-address-book
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    Symbol Address Book

    Symbol address book module

    1. Installation
    2. Usage

    Installation

    To install the npm module on your typescript or node project run:

    npm install symbol-address-book --save

    Usage

    import { AddressBook } from 'symbol-address-book';
    
    const addressBook = new AddressBook();
    
    addressBook.addContact({
        address: 'TAVVVJBBCTYJDWC7TQPSVNHK2IPNY6URKK4DTHY',
        name: 'Bob',
        phone: '+34 000000000',
        email: 'bob@nemgroup.software',
        label: 'Executive team',
        notes: 'A very good friend',
        isBlackListed: false,
    });
    
    const json = addressBook.toJSON(true);
    fs.writeFileSync('./my-path/', json);

    Keywords

    none

    Install

    npm i symbol-address-book

    DownloadsWeekly Downloads

    12

    Version

    1.0.1

    License

    none

    Unpacked Size

    20.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • rg911
    • heybaha
    • bassem94
    • wayonblair
    • symbol-npm