node-walk

    1熱度

    2回答

    Node walk提供了一個API,其中包含一些類似的事件。 walker.on('file', (root, filestats, next) => { // next should be called to goto next file next(); }); walker.on('end',() => { // the end of the stream