V1 with working cmdline interface for easy of using GIT
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import type { Format } from './types';
|
||||
|
||||
export const default_format: Format = 'RFC3986';
|
||||
export const formatters: Record<Format, (str: PropertyKey) => string> = {
|
||||
RFC1738: (v: PropertyKey) => String(v).replace(/%20/g, '+'),
|
||||
RFC3986: (v: PropertyKey) => String(v),
|
||||
};
|
||||
export const RFC1738 = 'RFC1738';
|
||||
export const RFC3986 = 'RFC3986';
|
||||
Reference in New Issue
Block a user