Security News
RubyGems.org Adds New Maintainer Role
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.
NodeJS client library for Stampery API, the blockchain-powered, industrial-scale certification platform.
Seamlessly integrate industrial-scale data certification into your own NodeJS apps. The Stampery API adds a layer of transparency, attribution, accountability and auditability to your applications by connecting them to Stampery's infinitely scalable Blockchain Timestamping Architecture.
stampery
into your project and add it as a dependency in your package.json
:npm install --save stampery
2f6215c7-ad87-4d6e-bf9e-e9f07aa35f1a
Stampery = require('stampery');
// Sign up and get your secret token at https://api-dashboard.stampery.com
// Please use 'beta' for testing and 'prod' for production
stampery = new Stampery('yourSecretToken', 'prod')
stampery.on('proof', function(hash, proof) {
console.log("Received proof for " + hash, proof);
stampery.prove(hash, proof, function (valid) {
console.log('Proof validity:', valid);
});
});
stampery.on('ready', function() {
stampery.receiveMissedProofs();
stampery.hash('The piano has been drinking', function(hash) {
stampery.stamp(hash);
});
});
Here is the same example, just using our beloved IcedCoffeeScript:
Stampery = require 'stampery'
# Sign up and get your secret token at https://api-dashboard.stampery.com
# Please use 'beta' for testing and 'prod' for production
stampery = new Stampery 'your-secret-token', 'prod'
stampery.on 'proof', (hash, proof) ->
console.log "Received proof for #{hash}", proof
await stampery.prove hash, proof, defer valid
console.log 'Proof validity:', valid
stampery.on 'ready', ->
stampery.receiveMissedProofs()
await stampery.hash 'The piano has been drinking', defer hash
stampery.stamp hash
Ping us at support@stampery.com and we will more than happy to help you! 😃
Code released under the MIT license.
Copyright 2015-2016 Stampery, Inc.
FAQs
Stampery API for NodeJS: seamlessly integrate the blockchain-powered, industrial-scale certification platform into your NodeJS apps.
The npm package stampery receives a total of 0 weekly downloads. As such, stampery popularity was classified as not popular.
We found that stampery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
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.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.