Giter Club home page Giter Club logo

idimetrix / text-case Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 6.64 MB

Convert text between `camelCase`, `PascalCase`, `Capital Case`, `Header-Case`, `Title Case`, `path/case`, `snake_case`, `param-case`, `dot.case`, `CONSTANT_CASE`, `lower case`, `lOWER CASE FIRST`, `UPPER CASE`, `Upper case first` and other

Home Page: https://idimetrix.github.io/text-case

License: MIT License

TypeScript 100.00%
camel-case constant-case pascal-case change-case snake-case capital-case dot-case sentence-case path-case no-case

text-case's Introduction

idimetrix

Expert Full-Stack software engineer, specializing in design and development of web applications using JS (React & Vue & Angular) and Node/PHP

Build Setup

# install dependencies
$ npm run install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

text-case's People

Contributors

idimetrix avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

text-case's Issues

Title Case function doesn't accept options and doesn't work for 'UPPER CASE' text

Not sure if I'm missing something but I'm trying to normalise imported data that's commonly entered as upper case, but the titleCase function doesn't work for this. I have to first be calling the toLowerCase method on the string which I feel defeats the purpose.

Also, there's no options parameter for me to pass in a transform. Though, I still think I shouldn't need to do this. I figured the aim of this library is to force text of any format into the format of the chosen function. Are my expectations incorrect based on the goal of the library?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.