Skip to content

add %j as an alias for %O#1

Open
chocolateboy wants to merge 1 commit into
jontra:masterfrom
chocolateboy:add_j_as_an_alias_for_O
Open

add %j as an alias for %O#1
chocolateboy wants to merge 1 commit into
jontra:masterfrom
chocolateboy:add_j_as_an_alias_for_O

Conversation

@chocolateboy

Copy link
Copy Markdown

same as util.format and many other implementations:

package char conversion notes
extsprintf %j util.inspect
lodash-decipher %j JSON.stringify no width/precision
s %j JSON.stringify only supports %d and %j
sprintf.js %j JSON.stringify contaminates the global scope and String
string-kit %J JSON.stringify
tea-sprintf %j JSON.stringify no width/precision

same as util.format and many other implementations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant