Nonconformist Propaganda Machine
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    sanitize-marathon-app-idpublic

    NPM Version Build Status Coverage Status Dependencies

    sanitize-marathon-app-id

    🚮 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.

    Install

    $ npm install sanitize-marathon-app-id
    

    Usage

    Programmatic usage

    var sanitize = require('sanitize-marathon-app-id');
     
    var appId = sanitize('FOO_λ_BAR_1.0.0'); // â†’ foo-bar-1-0-0

    CLI

    $ sanitize-marathon-app-id --help
    
      Sanitize marathon app ids.
    
      Usage
        sanitize-marathon-app-id <input>
    

    install

    npm i sanitize-marathon-app-id

    Downloadsweekly downloads

    20

    version

    1.1.0

    license

    Beerware

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar