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.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

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 27 Jul 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