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

@nrk/ps-static-file-uploader

Package Overview
Dependencies
Maintainers
144
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrk/ps-static-file-uploader

Publish static files to Azure blob store

  • 2.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
144
Created
Source

static-file-uploader

install size npm version

⚠️ This is an internal tool used by the TV web team @ NRK
The package is public only for ease of use with npx in CI
settings so we dont have to provide npx --userconfig <.npmrc>

Simple NodeJS cli tool for uploading static files in a directory to Azure Blob storage

Usage

Typical use case for node apps in the PS.Web repo, use npx in npm script and be explicit about the version (@1.0.x)

{
  "scripts": {
    "deploy": "npx @nrk/ps-static-file-uploader@1.0.x --uploadDirPath=<path to local dir> --remoteFolderName=<Folder name in Azure Blob storage>"
  }
}

The connection string to the Azure Blob storage is read from env['BLOB_CONNECTION_STRING']. The url to the Azure Blob storage is read from env['BLOB_STORE_URL'],

Set deployFeatureBranch to true to deploy other branches than master

Display help

> npx @nrk/ps-static-file-uploader -h

FAQs

Package last updated on 29 Apr 2022

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