Construct relative URL from source and target URL
Relativize absolute paths in HTML and CSS
Hacks the output generated by Gatsby to make it a relative URL site.
Relativize absolute paths in HTML and CSS
Flexible tool for translating any dialect of JavaScript into Node-readable CommonJS modules
In a partition list from `sfdisk --dump`, translate between absolute and relative partition numbers and offsets. Also translate sizes between sectors and human-friendly magnitude-suffixed bytes.
Convert LCOV coverage reports to Cobertura XML from Node.js
See the demo repo on why it is needed : https://github.com/bug-reproduction/svelte-kit-static-ipfs/tree/fixes#fixes
A set of complementary tools to React, including the JSX transformer.
Formats output from `claude --output-format stream-json` as human-readable text
This plugin allows to link entry assets and bundle files.
Command line tools for developing applications on Synquery web-platform.
A set of complementary tools to React, including the JSX transformer.
Support tools that deal with Scala.js in the project of the npm.
a tool for modifying log timestamps into relative durations
Like include_bytes! for directories
This crate provides an implementation of the IRI and URI specifications.
`mantra` offers a lightweight approach for requirement tracing and coverage.
Istanbul-compatible JavaScript/TypeScript coverage instrumentation using the Oxc AST
Coverage summarization and tree-visitor base for the oxc-coverage suite (port of istanbul-lib-report)
Coverage reporters (text, text-summary, json-summary, lcov, cobertura) for the oxc-coverage suite (port of istanbul-reports)
Istanbul-compatible source-map remap for FileCoverage (port of istanbul-lib-source-maps)
Istanbul-compatible coverage data types (FileCoverage, CoverageMap, etc.) for the oxc-coverage suite
V8 inspector coverage to Istanbul FileCoverage conversion (port of v8-to-istanbul)
Sugar functions for manipulating paths
XCDR1/XCDR2 encoder/decoder + KeyHash + PL_CDR1 helpers. Implements OMG XTypes 1.3 §7.4 wire format. Pure-Rust no_std + alloc.
Useful when you want to redirect_to a string and want to ensure that you don't end up on another domain.
rack-relativize relativize path of html ( href, src attribute) and css ( url(..) ).
Processor for relativizing URL's templates
Use Mysql AUTO_INCREMENT to support key value cache, which should be combined by an integer and string. It means to reduce the database storage size, and improve query performance. All cache will store in process memory, and will never be expired, until the process dies, so the less kvs you use, the better performance you will get. BTW, 100,000 general strings use 10MB memory. Some relatived articles: http://en.wikipedia.org/wiki/Correlation_database Usage ------------------------------------------ ## setup ```ruby create_table :kv_browser_names, :options => 'ENGINE=MyISAM DEFAULT CHARSET=utf8' do |t| t.string :name t.timestamps end class KvBrowserName < ActiveRecord::Base include IdNameCache end ``` or ```ruby create_table :common_tag, :options => 'ENGINE=MyISAM DEFAULT CHARSET=utf8' do |t| t.integer :tagid t.string :tagname end class CommonTag < ActiveRecord::Base self.table_name = :common_tag self.primary_key = :tagid include IdNameCache; set_key_value :tagid, :tagname # include IdNameCache; set_key_value_without_create :tagid, :tagname # if you dont want create it automately end ``` ### use cases ```text ruby-1.9.3-rc1 :001 > QuizTag[1] QuizTag Load (0.3ms) SELECT `common_tag`.* FROM `common_tag` WHERE `common_tag`.`tagid` = 1 LIMIT 1 => "Android" ruby-1.9.3-rc1 :002 > QuizTag[1] => "Android" ruby-1.9.3-rc1 :003 > QuizTag['Android'] QuizTag Load (0.5ms) SELECT `common_tag`.* FROM `common_tag` WHERE `common_tag`.`tagname` = 'Android' LIMIT 1 => 1 ruby-1.9.3-rc1 :004 > QuizTag['Android'] => 1 ``` == Copyright MIT, David Chen at eoe.cn