UNPKG

wrappedjs

Version:

This package provides wrapped versions of basic JavaScript blocks like switch or try-catch, making them usable in a more inline fashion for flexible usage inside function parameters or chained calls. I created it out of frustration with not being able to

30 lines (29 loc) 919 B
{ "name": "wrappedjs", "version": "2.0.9", "description": "This package provides wrapped versions of basic JavaScript blocks like switch or try-catch, making them usable in a more inline fashion for flexible usage inside function parameters or chained calls. I created it out of frustration with not being able to use switch inline—hope it softens your coding experience :).", "main": "dist/wrapped.js", "types": "dist/wrapped.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "wrapped", "wrappedjs", "typescript", "inline", "codewrap", "switch", "try", "catch" ], "author": "Miguel Rios Marcos <miguel12105marcos@gmail.com> (GitHub: @mriioos, npm: @miguelrios)", "license": "ISC", "devDependencies": { "typescript": "^5.7.3" }, "files": [ "dist/**/*", "README.md" ] }