const fs = require('fs')
const path = require('path')
const DIRNAME = fs.realpathSync(process.cwd())
const PATHS = {
app: path.join(DIRNAME, 'src'),
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Store { | |
// Ordinal numbers sequence. | |
ordinal = null | |
// Ordinal numbers generator. | |
ordinalGenerator = function * () { | |
let i = 0 | |
while (true) { | |
yield i++ | |
} |
NewerOlder