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

ta-app-config

Package Overview
Dependencies
Maintainers
11
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ta-app-config

TA platform utils for node.js and the browser

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by166.67%
Maintainers
11
Weekly downloads
 
Created
Source

ta-app-config

Centralized web app config.

Install

npm i ta-app-config --save

What's Included

  • Names / abbreviations
  • Env specific location info (protocol, host, port, href)
  • Logos / Favicons
  • .../src/index.js for more

Usage

import apps from 'ta-app-config'

// env specific urls
window.location.href = apps.unity.location.href

// other env urls
console.log(apps.unity.locations[NODE_ENV])
//=> { protocol: '', host: '', port: '',  href: '' }

// favicon for the current
const icon = <img src={apps.unity.favicon} /> 

Contribute

  1. Clone this repo
  2. Create a branch
  3. Make changes, push
  4. Open a PR

Releasing

On the latest clean master:

npm run release:major
npm run release:minor
npm run release:patch

FAQs

Package last updated on 20 Jun 2016

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