HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/dev/nowruzgan/rest/node_modules/machinepack-strings/machines/to-lower-case.js
module.exports = {


  friendlyName: 'To lowercase',


  description: 'Convert all uppercase letters to lowercase in the specified string.',


  extendedDescription: 'Returns a version of the string with lowercase characters replaced with uppercase characters -- this is equivalent to using `toLowerCase()` in JavaScript.',


  sync: true,


  cacheable: true,


  inputs: {

    string: {
      example: 'Some stuff and THINGS 235823523',
      description: 'The string to lowercase.',
      required: true
    }

  },


  exits: {

    success: {
      example: 'some stuff and things 235823523',
    }

  },


  fn: function (inputs, exits) {
    return exits.success(inputs.string.toLowerCase());
  }


};