How to use the change-case.upperCase function in change-case

To help you get started, we’ve selected a few change-case examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rodi01 / RenameIt-XD / src / lib / Rename.js View on Github external
function currentLayer(newLayerName, layerName) {
  // UpperCase
  let name = newLayerName.replace(/%\*u%/gi, changeCase.upperCase(layerName))

  // LowerCase
  name = name.replace(/%\*l%/gi, changeCase.lowerCase(layerName))

  // Title Case
  name = name.replace(/%\*t%/gi, toTitleCase(layerName))
  // name = name.replace(/%\*t%/gi, changeCase.titleCase(layerName))

  // UpperCase First
  name = name.replace(/%\*uf%/gi, changeCase.upperCaseFirst(layerName))

  // Camel Case
  name = name.replace(/%\*c%/gi, changeCase.camelCase(layerName))

  // Layername
  name = name.replace(/%\*/g, layerName)
github cdes / figma-plus-advanced-rename-plugin / src / rename.js View on Github external
function currentLayer(newLayerName, layerName) {
  // UpperCase
  let name = newLayerName.replace(/%\*u%/gi, changeCase.upperCase(layerName));

  // LowerCase
  name = name.replace(/%\*l%/gi, changeCase.lowerCase(layerName));

  // Title Case
  name = name.replace(/%\*t%/gi, toTitleCase(layerName));
  // name = name.replace(/%\*t%/gi, changeCase.titleCase(layerName))

  // UpperCase First
  name = name.replace(/%\*uf%/gi, changeCase.upperCaseFirst(layerName));

  // Camel Case
  name = name.replace(/%\*c%/gi, changeCase.camelCase(layerName));

  // Layername
  name = name.replace(/%\*/g, layerName);
github rodi01 / RenameIt / src / lib / Rename.js View on Github external
function currentLayer(newLayerName, layerName) {
  // UpperCase
  let name = newLayerName.replace(/%\*u%/gi, changeCase.upperCase(layerName))

  // LowerCase
  name = name.replace(/%\*l%/gi, changeCase.lowerCase(layerName))

  // Title Case
  name = name.replace(/%\*t%/gi, toTitleCase(layerName))

  // UpperCase First
  name = name.replace(/%\*uf%/gi, changeCase.upperCaseFirst(layerName))

  // Camel Case
  name = name.replace(/%\*c%/gi, changeCase.camelCase(layerName))

  // Param Case
  name = name.replace(/%\*pc%/gi, changeCase.paramCase(layerName))
github taskcluster / taskcluster / ui / src / views / Documentation / Reference / Entry.jsx View on Github external
secondary={this.renderScopeExpression(entry.scopes)}
            />
          
        )}
        
          
        
        
          }
          />
        
        {entry.description ? (
          
            {entry.description}}
            />
          
        ) : (
github taskcluster / taskcluster / ui / src / views / Documentation / Reference / Entry.jsx View on Github external
renderFunctionExpansionDetails = () => {
    const { serviceName, classes, entry } = this.props;
    const signature = this.getSignatureFromEntry(entry);

    return (
      
        
          }
          />
        
        
          
        
        {entry.scopes && (
github taskcluster / taskcluster / ui / src / views / Documentation / Reference / Entry.jsx View on Github external
{scopes[operator].map((scope, index) => (
              
                {this.renderScopeExpression(scope)}
                {index < scopes[operator].length - 1 && (
                  
                )}
              
            ))}
github taskcluster / taskcluster / ui / src / components / DenylistTable / index.jsx View on Github external
.map(word => {
        const pretty = word === 'Irc' ? upperCase(word) : word;

        return pretty;
      })
      .join(' ');
github taskcluster / taskcluster / ui / src / views / Documentation / Reference / Entry.jsx View on Github external
<div>
            
              v{entry.version}
            
          </div>
        
        
          <div>
            {entry.title}
          </div>
        
        
          <div>
            
          </div>
        
      
    );
  };