braces icon indicating copy to clipboard operation
braces copied to clipboard

feature request: remove extra space

Open trim21 opened this issue 3 years ago • 3 comments

const braces = require('braces');

console.log(braces(['{js, ts, json}'], { expand: true }));

expected: [ 'js', 'ts', 'json' ]

trim21 avatar May 23 '21 09:05 trim21

Thanks for the request! If we get a few 👍🏻 , I'll implement this in the next release.

jonschlinkert avatar May 23 '21 09:05 jonschlinkert

@jonschlinkert Hi, I try to implement this and submit a PR, but I found that some tests are already broken at node18 🤔

trim21 avatar Oct 30 '22 02:10 trim21