Socket
Socket
Sign inDemoInstall

case-anything

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

case-anything - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

.media/case-anything VSCode.gif

26

package.json
{
"name": "case-anything",
"version": "1.1.1",
"version": "1.1.2",
"sideEffects": false,

@@ -12,17 +12,18 @@ "description": "camelCase, kebab-case, PascalCase... a simple integration with nano package size. (SMALL footprint!)",

"test": "ava",
"rollup": "rollup -c build/rollup.js",
"build": "npm run lint && npm run rollup && npm run test"
"rollup": "rollup -c build.js",
"build": "rm -rf ./dist && npm run lint && npm run rollup && npm run test"
},
"dependencies": {},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"ava": "^3.6.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"ava": "^3.12.1",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-tree-shaking": "^1.8.0",
"rollup": "^1.32.1",
"rollup-plugin-typescript2": "^0.25.3",
"ts-node": "^8.8.2",
"typescript": "^3.8.3"
"rollup": "^2.26.8",
"rollup-plugin-typescript2": "^0.27.2",
"tsconfig-paths": "^3.9.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},

@@ -63,2 +64,3 @@ "repository": {

"require": [
"tsconfig-paths/register",
"ts-node/register"

@@ -65,0 +67,0 @@ ]

@@ -7,3 +7,4 @@ # Case anything 🐫

camelCase, kebab-case, PascalCase... a simple integration with nano package size. (SMALL footprint!)
10 case changing functions: camelCase, kebab-case, PascalCase **and more**...<br />
A simple integration with nano package size. (SMALL footprint!)

@@ -14,4 +15,6 @@ ## Motivation

I wanted to try my hand at the smallest iteration possible.
I wanted to try my hand at the smallest iteration possible. (and it's [12+ times smaller](#package-size) than the next popular case changing package!!)
There's also a Better Touch Tool preset with [keyboard shortcuts](#keyboard-shortcuts) to convert selected text system wide!
## Meet the family

@@ -126,2 +129,12 @@

## Keyboard shortcuts
With [Better Touch Tool](https://folivora.ai) you can set up keyboard shortcuts to convert selected text with JavaScript. This repo provides an easy to install preset that has shortcuts for pascal, kebab and camel case! (thanks to [@AndrewKoch](https://github.com/AndrewKoch)) It even supports multi-cursors in VSCode!
Here is an example triggering keyboard shortcuts to convert the selected text to PascalCase; kebab-case; camelCase:
![keyboard shortcuts example](.media/case-anything%20VSCode.gif?raw=true)
You can download the BTT preset from the source code: [case-anything.bttpreset](case-anything.bttpreset).
## Package size

@@ -128,0 +141,0 @@

{
"compilerOptions": {
"baseUrl": ".",
"declaration": true,

@@ -7,4 +8,5 @@ "declarationDir": "./types/"

"include": [
"src/**/*"
"src/**/*",
"test/**/*"
]
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc