PHP 8.2.30
Preview: index.js Size: 504 B
/home/byroehnu/easepay.easetack.com/node_modules/toidentifier/index.js

/*!
 * toidentifier
 * Copyright(c) 2016 Douglas Christopher Wilson
 * MIT Licensed
 */

'use strict'

/**
 * Module exports.
 * @public
 */

module.exports = toIdentifier

/**
 * Trasform the given string into a JavaScript identifier
 *
 * @param {string} str
 * @returns {string}
 * @public
 */

function toIdentifier (str) {
  return str
    .split(' ')
    .map(function (token) {
      return token.slice(0, 1).toUpperCase() + token.slice(1)
    })
    .join('')
    .replace(/[^ _0-9a-z]/gi, '')
}

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
127 B lr--r--r-- 2026-03-14 01:49:04
Edit Download
128 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
504 B lrw-r--r-- 2026-02-03 15:06:12
Edit Download
1.08 KB lrw-r--r-- 2026-02-03 15:06:12
Edit Download
1.12 KB lrw-r--r-- 2026-02-03 15:06:12
Edit Download
1.76 KB lrw-r--r-- 2026-02-03 15:06:14
Edit Download

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