Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

trim

An easier workflow for faster better stronger websites

Subscribe to updates I use trim


Statistics on trim

Number of watchers on Github 50
Number of open issues 1
Main language CSS
Average time to merge a PR 17 days
Open pull requests 1+
Closed pull requests 0+
Last commit almost 4 years ago
Repo Created almost 6 years ago
Repo Last Updated about 2 years ago
Size 107 KB
Organization / Authormrmrs
Contributors4
Page Updated
Do you use trim? Leave a review!
View trim activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating trim for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

TRIM

Work in progress. Under active development. Pull requests welcome.

Wut

Running a simple dev environment and readying assets for production should be super easy and trivial. This is an attempt at a basic template for faster performing websites. Performance matters, but we shouldn't have to constantly pick low-hanging fruit. It should be as easy as hitting a button. Hopefully this can become that button.

Getting started

Set up the project by cloning the repo, navigating into it, then installing the necessary dependencies by running:

git clone git@github:mrmrs/trim.git
cd trim
npm install -g gulp browser-sync
npm install .

To run the development environment

Once you've run npm install just run this very complicated command in your terminal to start gulp

npm start

This will watch the sass directory and do the following on file change: Compile scss files down to css/trim.css Run autoprefixer on css/trim.css (this allows you to keep vendor prefixes out of your css) Run csslint and spit the output to your terminal window where you are running gulp Run an instance of browser-sync. With the chrome and safari extensions, you can see changes in the browser without hitting refresh

If you are including js - you'll still need to change the references in your html to the minified files.

Sass

Trim comes with a number of simple css utilities that you might find helpful. More documentation later.

TODO

  • Show how to dictate order of js when compiling
trim open pull requests (View All Pulls)
  • Expands on the get started section a bit
trim questions on Stackoverflow (View All Questions)
  • Trim a possible prefix of a string in Java
  • Fastest way to trim one column's data in large MySQL table
  • SQL Server TRIM character
  • how to trim and append a string in for loop in c#
  • Trim inputs before validation in the Requests - Laravel
  • Excel trim text based on variable input
  • JavaScript - Split CSV, trim spaces, remove backslash - result is an array of strings
  • How to use trim in store procedure sql query
  • eScript RegExp to Trim Leading & Trailing spaces
  • Crop/trim a JPG file with empty space with Java
  • how to trim a video in swift for a particular time
  • Get Character value from KeyCode in Javascript...then trim
  • ffmpeg batch command trim all mp3s in folder
  • How to trim a file extension from a String in JavaScript?
  • trim string to a certain word count
  • Trim video without displaying UIVideoEditorController swift
  • Using MySQL to TRIM and SUBSTRING_ INDEX to remove all characters to the right
  • Trim JSONP date to extract year?
  • How to filter prefix and trim words from a string with JavaScript (not jQuery)
  • PHP empty search result showing full output from sql table after adding trim nothing showing
  • Set TRIM property of ssd device
  • How to Trim() all inputs by Model in c# MVC
  • Trim string with specific charset
  • Trim white space and return errors in c#
  • Trim decimals from input label span using plain JavaScript
  • Trim string in JavaScript?
  • Trim a string based on the string length
  • Trim function in C, to trim in place (without returning the string)
  • Shorter/Better answer to "trim" an array in Javascript?
  • How to check TRIM status via Terminal
trim list of languages used
Other projects in CSS