Displaying 1 to 20 from 31 results

sugarss - Indent-based CSS syntax for PostCSS

  •    Javascript

Indent-based CSS syntax for PostCSS.As any PostCSS custom syntax, SugarSS has source map, stylelint and postcss-sorting support out-of-box.




strip-indent - Strip leading whitespace from each line in a string

  •    Javascript

The line with the least number of leading whitespace, ignoring empty lines, determines the number to remove.Useful for removing redundant indentation.

add-line-numbers - adds line numbers to a source string

  •    Javascript

Adds line numbers to a source string, padding left and starting at the given offset.Adds a number to the start of each line in the str text.

detect-indent - Detect the indentation of code

  •    Javascript

Pass in a string of any kind of text and get the indentation.The current algorithm looks for the most common difference between two consecutive non-empty lines.


indent-string - Indent each line in a string

  •    Javascript

String you want to indent.How many times you want indent repeated.

cat-pad - 🐈 Left pad a string with cats

  •    Javascript

Pads input with cats on the left side if it's shorter than length. Padding cats are truncated if they exceed length.String to pad.

Tabby - Tabby, originally by Ted Devito

  •    Javascript

This jQuery plugin is by Ted Devito, originally found at http://teddevito.com/demos/textarea.html. There did not seem to be a GitHub repo for it yet, so I made one.

deleft.vim - Delete a wrapping if-clause, try-catch block, etc. and shift left.

  •    Vim

So, the mapping/command deletes the opening and closing HTML tag and shifts the code to the left (hence the name "deleft", from "delete left"). Note that dh is a built-in mapping, but it's a synonym to x, so I'm okay with overwriting it. Set g:deleft_mapping to "" (or whatever else you like) to avoid this.

lpad-align - Left pad a string to align with the longest string in an array

  •    Javascript

Left pad a string to align with the longest string in an array

grunt-prettify - Grunt plugin for beautifying HTML

  •    Javascript

HTML prettifier with options to format HTML according to your own preferences. In your project's Gruntfile, add a section named prettify to the data object passed into grunt.initConfig().

align-text - Align the text in a string.

  •    Javascript

Align the text in a string. Follow this project's author, Jon Schlinkert, for updates on this project and others.

outdent - Remove indentation from ES6 template strings

  •    TypeScript

ES6 template strings are great, but they preserve everything between the backticks, including leading spaces. Sometimes I want to indent my template literals to make my code more readable without including all those spaces in the string. Outdent will remove those leading spaces, as well as the leading and trailing newlines.

grunt-lintspaces - A Grunt task for checking spaces in files.

  •    Javascript

A Grunt task for checking spaces in files depending on the node module lintspaces. This grunt task is just a wrapper for the node module called lintspaces. If you have any issues or feature requests, please consider if this may belongs to the node module its self.

node-lintspaces - A validator for checking spaces in files.

  •    Javascript

A node module for checking spaces in files. There is also a lintspaces CLI available written by evanshortiss.

brackets-indent-softwraps - Brackets editor extension: indent lines with softwraps properly (NOT SUPPORTED SINCE BRACKETS 1

  •    Javascript

When a line does not fit in editing area, it is softwrapped. This extension makes it so the wrapped part (2nd and subsequent lines) has the same indentation as the 1st line