Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sanitize-marathon-app-id

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sanitize-marathon-app-id

Sanitize marathon app ids.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NPM Version Build Status Coverage Status Dependencies

sanitize-marathon-app-id

:put_litter_in_its_place: 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>

Keywords

FAQs

Package last updated on 16 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc