nl_tokens: Recursive promise - based mkdir .
pl_tokens: async function make ( dir ) { <mask> { await makePromise ( mkdir , dir ) } catch ( err ) { if ( err . code == 'ENOENT' ) { const parentDir = dirname ( dir ) await make ( parentDir ) await make ( dir ) } else if ( err . code != 'EEXIST' ) { // created in parallel throw err } } }