readfile-line

    0.1.0 • Public • Published
    npm -g install readfile-line
    git clone https://github.com/Daeren/readfile-line.git
    
    const readline = require("readfile-line");
     
    //-------------]>
     
    const num = await readline("data.xdb", await function(data, index, next) {
        next();
    });
     
    ...
     
    const num = await readline("data.xdb",
        function filter(data, next) {
            if(!data) {
                next();
            }
            else {
                next(null, data);
            }
        },
        function iterator(data, index, next) {
            next(null);
        },
        /\r?\n/);

    License

    MIT


    @ Daeren @ Telegram

    Install

    npm i readfile-line

    Homepage

    666.io

    DownloadsWeekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • daeren