
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
remote-environment
Advanced tools
The complete context dictionary for given environment 💫.
This library contain a key-value map of the requested context, accessing the objects with their
real paths such as "Object.getPrototypeOf". All the contexts include only a variables that are
unique for this environment and can't recreate again manually. For Example, the PI number
3.141592653589793 is not a unique variable but the function Math.sin is unique and therefore
will be available under the path "Math.sin".
npm install remote-environment
// Load the requested environment
const context = require('remote-environment/es6');
// Access the environment objects
context['Object']; // equals to `Object`
context['Math.sin']; // equals to `Math.sin`
context['Promise.resolve']; // equals to `Promise.resolve`
context['Function.prototype']; // equals to `Function.prototype`
Remote-environment is currently supporting only limited number of environment contexts. To use an environment you should require it explicitly:
const context = require('remote-environment/ENV_NAME');
When ENV_NAME is the required environment name.
| Name | Status | Description |
|---|---|---|
es6 | UNSTABLE | An ES6 context. This environment consider unstable and may change over the versions. |
This module is a part of the remote-lib library.
Here is the relevant documentation for this module:
© 2017 Moshe Simantov
Licensed under the Apache License, Version 2.0.
FAQs
Get a fixed context per specific environment such as ES6.
The npm package remote-environment receives a total of 3 weekly downloads. As such, remote-environment popularity was classified as not popular.
We found that remote-environment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.