๐ฎ Sanitize marathon app ids.
Marathon only allows a limited character set to be used in an app id. If you generate these ids automatically based on e.g. current system information it is useful to sanitize the app id and filter all characters which are not allowed.
$ npm install sanitize-marathon-app-id
var sanitize = require('sanitize-marathon-app-id');
var appId = sanitize('FOO_ฮป_BAR_1.0.0'); // โ foo-bar-1-0-0
$ sanitize-marathon-app-id --help
Sanitize marathon app ids.
Usage
sanitize-marathon-app-id <input>