File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ console.log(data);
5353readify (' /' , {
5454 type: ' raw' ,
5555}).then (console .log );
56+
5657// output
5758({
5859 path: ' /' ,
@@ -71,6 +72,7 @@ readify('/', {
7172 sort: ' size' ,
7273 order: ' desc' ,
7374}).then (console .log );
75+
7476// output
7577({
7678 path: ' /' ,
Original file line number Diff line number Diff line change 11'use strict' ;
22
33const process = require ( 'node:process' ) ;
4- const isUndefined = ( a ) => typeof a === 'undefined' ;
4+
55const format = require ( 'format-io' ) ;
66const currify = require ( 'currify' ) ;
77const tryToCatch = require ( 'try-to-catch' ) ;
88
99const sortify = require ( '@cloudcmd/sortify' ) ;
1010const formatify = require ( '@cloudcmd/formatify' ) ;
1111
12- const WIN = process . platform === 'win32' ;
13-
1412const readdir = require ( './readdir' ) ;
13+ const WIN = process . platform === 'win32' ;
14+ const isUndefined = ( a ) => typeof a === 'undefined' ;
1515const nicki = ! WIN && require ( 'nicki' ) ;
1616const replaceProperty = currify ( _replaceProperty ) ;
1717const ifRaw = currify ( _ifRaw ) ;
You can’t perform that action at this time.
0 commit comments