Ninja Pirate Marksman

    corrected-names

    1.0.2 • Public • Published

    corrected-names

    Given a string, returns an object with its camelCaseName, PascalCaseName, underscored_name, dashed-name and the original input string

     
      const getCorrectedNames = require('corrected-names');
      
      const myCorrectedNames = getCorrectedNames('my_Corrected-names');
      /* 
        returns: 
        
        {
          camelCaseName: 'myCorrectedNames',
          pascalCaseName: 'MyCorrectedNames',
          underscoredName: 'my_corrected_names',
          dashedName: 'my-corrected-names',
          originalName: 'my_Corrected-names',
        }
      
      */
     

    Install

    npm i corrected-names

    DownloadsWeekly Downloads

    3

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • keremkazan