0.0.6 • Published 11 months ago
@w5/sd_fmt v0.0.6
@w5/sd_fmt
#!/usr/bin/env coffee
> @w5/sd_fmt
prompt = ''' a b, < lora : xxx : 1.3 > c, ,( (, x , ) ) , [ , xxx , , , ]' '''
console.log JSON.stringify(prompt)
console.log JSON.stringify SdFmt prompt
output :
" a b, < lora : xxx : 1.3 > c, ,( (, x , ) ) , [ , xxx , , , ]' "
"a b,<lora:xxx:1.3>c,((x)),[xxx]'"