{"id":81478,"library":"zaru","title":"Zaru","description":"Zaru takes a given filename (a string) and normalizes, filters and truncates it, so it can be safely used as a filename in modern operating systems. Zaru doesn't remove Unicode characters when not necessary.","status":"active","version":"1.0.1","language":"ruby","source_language":null,"source_url":"https://github.com/madrobby/zaru","tags":["filename","sanitize","normalize","unicode"],"install":[{"cmd":"gem install zaru","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'zaru', '~> 1.0.1'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Zaru","correct":"require 'zaru'"}],"quickstart":{"code":"require 'zaru'\nZaru.sanitize!('hello/world:test.txt') # => 'hello_world_test.txt'","lang":"ruby","description":"Sanitize a filename for safe filesystem use"},"warnings":[],"env_vars":null,"search_vec":"'charact':33 'doesn':29 'filenam':6,23,37 'filter':11 'given':5 'modern':25 'necessari':36 'normal':10,39 'oper':26 'remov':31 'safe':19 'sanit':38 'string':8 'system':27 'take':3 'truncat':13 'unicod':32,40 'use':20 'zaru':1,2,28","created_at":"2026-06-19T04:51:20.079721+00:00","updated_at":"2026-06-19T04:51:20.079721+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/madrobby/zaru","github":"https://github.com/madrobby/zaru","docs":"http://www.rubydoc.info/gems/zaru/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}