1.1.0 • Published 4 years ago
justintime50-trimmer v1.1.0
Trimmer
A tool to trim your strings - great for tracking numbers.
Trimmer trims all whitespaces from your strings. Requires Javascript to be enabled in your web browser.
Install
Install the node module below or download the Javascript manually.
npm i justintime50-trimmer
Usage
There are multiple ways to take advantage of Trimmer. Below is an example of what to expect.
Take this:
# Tracking number
1234 5678 9090 1234 01
And turn it into this:
# Trimmed tracking number
123456789090123401
Website
View Trimmer in action here: https://justintime50.github.io/trimmer.
Manual Download
Download Trimmer and open the index.html
file in your browser (double click the file) and paste in your string. Press trim and you'll have your trimmed string.
HTML Example
<!-- Import Trimmer -->
<script src="path/to/trimmer/index.js"></script>
<!-- Trimmer Input -->
<textarea id="trimmer-input" placeholder="Paste string data here..." rows="8"></textarea>
<button onclick="processInput()">Trim</button>
<!-- Trimmer Output -->
<div id="trimmer-output"></div>