New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

platformsh

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

platformsh - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

lib/platformsh.min.js

20

package.json
{
"name": "platformsh",
"version": "0.0.2",
"version": "0.0.3",
"description": "Helper for running nodejs applications on Platform.sh",
"main": "platformsh.js",
"main": "lib/platformsh.min.js",
"keywords": [

@@ -16,6 +16,10 @@ "platformsh",

"directories": {
"lib": "lib",
"src": "src",
"test": "tests"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"lint": "./node_modules/eslint/bin/eslint.js src/",
"build": "mkdir -p ./lib && npm run lint && uglifyjs --compress --mangle -o lib/platformsh.min.js -- src/platformsh.js",
"test": "mocha --reporter spec"
},

@@ -26,3 +30,11 @@ "repository": {

},
"homepage": "https://github.com/platformsh/platformsh-nodejs-helper#readme"
"homepage": "https://github.com/platformsh/platformsh-nodejs-helper#readme",
"devDependencies": {
"chai": "^3.5.0",
"chai-shallow-deep-equal": "^1.4.6",
"eslint": "^3.19.0",
"mocha": "^3.4.1",
"mock-require": "^2.0.2",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony"
}
}

17

README.md
# platformsh-nodejs-helper
Helper for running nodejs applications on Platform.sh
Helper for running nodejs applications on Platform.sh.
## Purpose
Reads [Platform.sh configuration](https://docs.platform.sh/development/variables.html) from environment and returns a single object.
## Usage:
```bash
npm install platformsh --save
```
And in your code:
```javascript
const config = require('platformsh').config();
```

Sorry, the diff of this file is not supported yet

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