Strip attributes from HTML tags.
Strip ANSI escape codes from a string
Strip UTF-8 byte order mark (BOM) from a string
Strip comments from JSON. Lets you use comments in your JSON files!
Strip leading whitespace from each line in a string
Strip flow type annotations from your output code.
Strip comments and string literals from JavaScript code
Strip the final newline character from a string or Uint8Array
Strip a byte order mark (BOM) from a string.
Remove leading directory components from a path, like tar's --strip-components option
Strip a substring from the start/end of a string
Strip line and/or block comments from a string. Blazing fast, and works with JavaScript, Sass, CSS, Less.js, and a number of other languages.
Strip UTF-8 byte order mark (BOM) from a stream
Strip comments from a Pug token stream (from the lexer)
Strip UTF-8 byte order mark (BOM) from a Uint8Array
A simple method that will strip a valid hex prefix off a string, if present.
Check if a string has ANSI escape codes
Enabling better Test selectors in Ember.js applications.
Allow parsing of the module attributes in the import statement
Strip HTML tags from strings. No parser, accepts mixed sources.
remark plugin to remove markdown formatting
Indent each line in a string
Repair broken JSON documents
Remove trailing path separator from string. 路徑分隔符移除工具 - 移除路徑尾部分隔符
StripAttributes automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
AutoStripAttributes helps to remove unnecessary whitespaces from ActiveRecord or ActiveModel attributes. It's good for removing accidental spaces from user inputs. It works by adding a before_validation hook to the record. It has option to set empty strings to nil or to remove extra spaces inside the string.
StripAttributes is a Rails plugin that automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
Easy way to define AR attributes that should be stripped before save
ActiveRecord Extension to strip whitespace from attributes before saving values
strip whitespace from string attributes
Active Record attributes stripper
Strip / preprocess selected Active Record / Object attributes by creating custom setter through module prepending. Work with any Object in ruby and still allow custom setter to be defined inside the class. For exemple, can lowercase an email field during attribute setting for ActiveRecord instances instead of having to hook on validation hook on ActiveRecord.
Strips spaces from attributes, and sets empty strings to nil.
HTML sanitizer with configurable allow lists for tags and attributes. Strip dangerous elements like script, style, and iframe tags, remove event attributes, and safely render user-generated content.
A simple library for stripping whitespace from model attributes
An ActiveModel extension that strips tags from attributes before validation using the strip-tags helper.