Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@convergence/convergence
Advanced tools
This package provides a npm version of the Convergence JavaScript API, for use with the Convergence host platform.
Convergence is a hosted platform for rapidly developing real-time collaborative applications. At the heart of Convergence is it's collaborative real time data store. Where other frameworks stop at attempting to provide real time data, Convergence goes further by providing all the features a developer needs to build an effective and intuitive collaborative application. Some of the feature highlights include:
Convergence provides all of this and more in a single API reducing the time and complexity of gluing multiple frameworks together. With Convergence you can get up and running in hours, instead of months.
npm install --save @convergence/convergence
const Convergence = require("@convergence/convergence").Convergence;
Convergence.connect("<domain-url>", "username", "password").then(domain => {
// open an employee data model.
return domain.models().open("employees", "doe.john");
}).then(model => {
// Get the root elemenet in the model.
const data = model.root();
// Set some data
data.set("fisrtName", "John");
data.set("lastName", "Doe");
// Get the firstName property directly
const firstName = data.elementAt("firstName");
// Rest the first name's value
firstName.value("Dan");
// Listen for course grained changes
firstName.on("value", () => {
console.log(firstName.value)
});
// Insert 'ny' into the string at index 3.
firstName.insert(3, "ny");
// Listen for course grained changes
firstName.on("insert", (evt) => {
console.log(`characters '${evt.value}' added at position (${evt.index})`)
});
});
The full compliment of Convergence documentation can be found here:
http://convergencelabs.com/learn/
Convergence requires RxJS 5.x. This dependency is taken care of when using the npm module. If including via a script tag, you have two options.
<script src="node_modules/@convergence/convergence/browser/convergence-all.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/5.0.1/Rx.js"></script>
<script src="node_modules/@convergence/convergence/browser/convergence.js"></script>
FAQs
Convergence JavaScript Client
The npm package @convergence/convergence receives a total of 78 weekly downloads. As such, @convergence/convergence popularity was classified as not popular.
We found that @convergence/convergence 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.