(name)
| 235 | return str.replace(/\\/g, '\\\\').replace(/\n/g, '\\n'); |
| 236 | } |
| 237 | function standardizeCounterName(name) { |
| 238 | return name.replace(/_total$/, ''); |
| 239 | } |
| 240 | |
| 241 | module.exports = Registry; |
| 242 | module.exports.globalRegistry = new Registry(); |