0.5.12 • Published 1 month ago
@tramvai/safe-strings v0.5.12
@tramvai/safe-strings
Utility kit for a safe string encoding/decoding
safeParseJSON
Tries to parse json and if it successful returns it, otherwise returns second argument as default value.
safeStringify
Converts object to json with a replacement of insecure symbols that allows to insert result string in the response html
safeStringiyfJSON
Converts object to json with a circular reference handling
removeXss
Removes possible xss strings
0.7.1
1 month ago
0.6.2
6 months ago
0.5.10
10 months ago
0.5.11
9 months ago
0.5.12
8 months ago
0.6.1
7 months ago
0.6.0
7 months ago
0.5.9
1 year ago
0.5.8
1 year ago
0.5.7
1 year ago
0.5.6
1 year ago
0.5.5
2 years ago
0.5.4
2 years ago
0.5.2
2 years ago
0.4.5
2 years ago
0.4.4
2 years ago
0.4.3
3 years ago
0.4.2
3 years ago
0.4.1
3 years ago