2020-08-05 23:08:13 +00:00
|
|
|
const strom = require("stromjs");
|
2018-12-04 06:30:38 +00:00
|
|
|
|
2020-08-05 23:08:13 +00:00
|
|
|
strom
|
|
|
|
.fromArray(["a1", "b22", "c333"])
|
2020-07-04 04:08:31 +00:00
|
|
|
.pipe(strom.replace(/b\d+/, "B"))
|
2018-12-04 06:30:38 +00:00
|
|
|
.pipe(process.stdout);
|