BLUE
PHP 7.4.33
Path:
/var/www/receipt-app-backend-bitkit.dk/httpdocs/node_modules/yn
Run
Logout
Edit File
Size: 711 B
Close
/var/www/receipt-app-backend-bitkit.dk/httpdocs/node_modules/yn/index.js
Text
Base64
'use strict'; const lenient = require('./lenient'); const yn = (input, options) => { input = String(input).trim(); options = Object.assign({ lenient: false, default: null }, options); if (options.default !== null && typeof options.default !== 'boolean') { throw new TypeError(`Expected the \`default\` option to be of type \`boolean\`, got \`${typeof options.default}\``); } if (/^(?:y|yes|true|1)$/i.test(input)) { return true; } if (/^(?:n|no|false|0)$/i.test(input)) { return false; } if (options.lenient === true) { return lenient(input, options); } return options.default; }; module.exports = yn; // TODO: Remove this for the next major release module.exports.default = yn;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.d.ts
1.32 KB
lrw-r--r--
2026-05-06 08:23:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
711 B
lrw-r--r--
2026-05-06 08:23:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lenient.js
1.41 KB
lrw-r--r--
2026-05-06 08:23:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
license
1.08 KB
lrw-r--r--
2026-05-06 08:23:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
615 B
lrw-r--r--
2026-05-06 08:23:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
readme.md
1.06 KB
lrw-r--r--
2026-05-06 08:23:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).