Registry / serialization / fast-xs

fast-xs

JSON →
library0.8.0rbrubygemsunverified

fast_xs provides C extensions for escaping text, offering a fast alternative to String#to_xs for XML/HTML escaping.

gem install fast_xs
INSTALL
IMPORT
SIG · FAST-XS
F
fast-xs
serializationrubyv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FastXs
require 'fast_xs'

Escape HTML/XML text

require 'fast_xs' puts '<script>'.fast_xs # => "&lt;script&gt;"
Debug
Known issues
gotchaRequires a C compiler to install; may fail on systems without native extension support.
fix
Install a build toolchain (e.g., build-essential on Debian) or use a precompiled gem if available.
affects: >= 0.8.0
Upgrade
Version history
0.8.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
fast-xs — gem install fast-xs · libregistry