Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

spacetrim

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spacetrim - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

LICENSE

74

package.json
{
"name": "spacetrim",
"version": "0.7.0",
"description": "Trimming string from all 4 sides",
"sideEffects": false,
"module": "./dist/esm/spaceTrim.js",
"main": "./dist/umd/spaceTrim.js",
"typings": "./dist/esm/typings/spaceTrim.d.ts",
"scripts": {
"test": "jest",
"lint": "tslint -p tsconfig.json",
"build": "rm -rf ./dist && rollup --config rollup.config.ts",
"preversion": "npm run lint && npm test",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hejny/spacetrim.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/hejny/spacetrim/issues"
},
"homepage": "https://github.com/hejny/spacetrim#readme",
"dependencies": {},
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.0",
"@types/jest": "^27.0.2",
"jest": "^27.3.1",
"rollup": "^2.58.1",
"ts-jest": "^27.0.7",
"tslib": "^2.3.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.4.4"
}
"name": "spacetrim",
"version": "0.8.0",
"description": "Trimming string from all 4 sides",
"sideEffects": false,
"module": "./dist/esm/spaceTrim.js",
"main": "./dist/umd/spaceTrim.js",
"typings": "./dist/esm/typings/spaceTrim.d.ts",
"scripts": {
"test": "jest",
"lint": "tslint -p tsconfig.json",
"build": "rm -rf ./dist && rollup --config rollup.config.ts",
"preversion": "npm run lint && npm test",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hejny/spacetrim.git"
},
"keywords": [],
"author": "",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/hejny/spacetrim/issues"
},
"homepage": "https://github.com/hejny/spacetrim#readme",
"dependencies": {},
"devDependencies": {
"@rollup/plugin-typescript": "8.3.0",
"@types/jest": "27.0.2",
"jest": "27.3.1",
"rollup": "2.58.1",
"ts-jest": "27.0.7",
"tslib": "2.3.1",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"typescript": "4.4.4"
}
}
# βœ‚οΈ Space trim
[![Package Quality](https://packagequality.com/shield/spacetrim.svg)](https://packagequality.com/#?package=spacetrim)
[![NPM Version](https://badge.fury.io/js/spacetrim.svg)](https://www.npmjs.com/package/spacetrim)
[![Test](https://github.com/hejny/spacetrim/actions/workflows/test.yml/badge.svg)](https://github.com/hejny/spacetrim/actions/workflows/test.yml)
[![Lint](https://github.com/hejny/spacetrim/actions/workflows/lint.yml/badge.svg)](https://github.com/hejny/spacetrim/actions/workflows/lint.yml)
<!--Badges-->
[![License of βœ‚οΈ Space trim](https://img.shields.io/github/license/hejny/spacetrim.svg?style=flat)](https://github.com/hejny/spacetrim/blob/main/LICENSE)
[![NPM Version of βœ‚οΈ Space trim](https://badge.fury.io/js/spacetrim.svg)](https://www.npmjs.com/package/spacetrim)
[![Quality of package βœ‚οΈ Space trim](https://packagequality.com/shield/spacetrim.svg)](https://packagequality.com/#?package=spacetrim)
[![lint](https://github.com/hejny/spacetrim/actions/workflows/lint.yml/badge.svg)](https://github.com/hejny/spacetrim/actions/workflows/lint.yml)
[![test](https://github.com/hejny/spacetrim/actions/workflows/test.yml/badge.svg)](https://github.com/hejny/spacetrim/actions/workflows/test.yml)
[![Known Vulnerabilities](https://snyk.io/test/github/hejny/spacetrim/badge.svg)](https://snyk.io/test/github/hejny/spacetrim)
[![Issues](https://img.shields.io/github/issues/hejny/spacetrim.svg?style=flat)](https://github.com/hejny/spacetrim/issues)
<!--/Badges-->
Spacetrim is trimming string from all 4 sides.<br/>

@@ -81,1 +87,25 @@ It is very helpfull to keep pretty code indentation without keeping strange spaces inside strings.

_See more examples in [nesting tests](./src/nesting.test.ts)._
## πŸ–‹οΈ Contributing
I am opened to pull requests, feedback and suggestions. Or if you like this utility, you can [β˜• buy me a coffee](https://www.buymeacoffee.com/hejny) or [donate via cryptocurrencies](https://github.com/hejny/hejny/blob/main/documents/crypto.md)
## ✨ Partners
<a href="https://Collboard.com/">
<img src="https://collboard.fra1.cdn.digitaloceanspaces.com/assets/18.12.1/logo-small.png" alt="Collboard logo" width="50" />
</a>
&nbsp;&nbsp;&nbsp;
<a href="https://czech.events/">
<img src="https://czech.events/design/logos/czech.events.transparent-logo.png" alt="Czech.events logo" width="50" />
</a>
&nbsp;&nbsp;&nbsp;
<a href="https://sigmastamp.ml/">
<img src="https://www.sigmastamp.ml/sigmastamp-logo.white.svg" alt="SigmaStamp logo" width="50"/>
</a>
[Become a partner](https://www.pavolhejny.com/contact/)

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