PHP 8.2.30
Preview: util.js Size: 885 B
/home/byroehnu/.trash/node_modules11/json5/lib/util.js

const unicode = require('../lib/unicode')

module.exports = {
    isSpaceSeparator (c) {
        return typeof c === 'string' && unicode.Space_Separator.test(c)
    },

    isIdStartChar (c) {
        return typeof c === 'string' && (
            (c >= 'a' && c <= 'z') ||
        (c >= 'A' && c <= 'Z') ||
        (c === '$') || (c === '_') ||
        unicode.ID_Start.test(c)
        )
    },

    isIdContinueChar (c) {
        return typeof c === 'string' && (
            (c >= 'a' && c <= 'z') ||
        (c >= 'A' && c <= 'Z') ||
        (c >= '0' && c <= '9') ||
        (c === '$') || (c === '_') ||
        (c === '\u200C') || (c === '\u200D') ||
        unicode.ID_Continue.test(c)
        )
    },

    isDigit (c) {
        return typeof c === 'string' && /[0-9]/.test(c)
    },

    isHexDigit (c) {
        return typeof c === 'string' && /[0-9A-Fa-f]/.test(c)
    },
}

Directory Contents

Dirs: 0 × Files: 13

Name Size Perms Modified Actions
3.51 KB lrw-r--r-- 2026-02-28 00:26:36
Edit Download
103 B lrw-r--r-- 2026-02-28 00:28:28
Edit Download
143 B lrw-r--r-- 2026-02-28 00:27:06
Edit Download
533 B lrw-r--r-- 2026-02-28 00:28:28
Edit Download
21.88 KB lrw-r--r-- 2026-02-28 00:27:30
Edit Download
374 B lrw-r--r-- 2026-02-28 00:27:34
Edit Download
163 B lrw-r--r-- 2026-02-28 00:27:44
Edit Download
4.06 KB lrw-r--r-- 2026-02-28 00:28:30
Edit Download
6.82 KB lrw-r--r-- 2026-02-28 00:27:52
Edit Download
124 B lrw-r--r-- 2026-02-28 00:28:32
Edit Download
15.44 KB lrw-r--r-- 2026-02-28 00:28:00
Edit Download
292 B lrw-r--r-- 2026-02-28 00:28:32
Edit Download
885 B lrw-r--r-- 2026-02-28 00:28:06
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).