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

code42day-addthis

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code42day-addthis - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

11

package.json
{
"name": "code42day-addthis",
"version": "0.0.0",
"version": "1.0.0",
"description": "Load addthis.com snippet asynchronously.",

@@ -17,3 +17,5 @@ "author": {

],
"dependencies": {},
"dependencies": {
"code42day-load": "^1.0.1"
},
"devDependencies": {

@@ -25,2 +27,5 @@ "jshint": "^2.9.4"

},
"browser": {
"load": "code42day-load"
},
"files": [

@@ -30,2 +35,2 @@ "index.js",

]
}
}
[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Dependency Status][gemnasium-image]][gemnasium-url]

@@ -18,7 +17,29 @@

```js
var code42dayAddthis = require('code42day-addthis');
var addthis = require('code42day-addthis');
code42dayAddthis('Rainbow');
var config = {
pubid: 'ra-XXXXXXXXXXXX'
};
var share = {
passthrough : {
twitter: {
via: "TWITTER USERNAME"
}
}
};
addthis(config, share, function () {
// window.addthis is now set and can be used to further configure addthis
});
```
## API
### `addthis(addthis_config, addthis_share, callback)`
- [addthis_config](http://www.addthis.com/academy/the-addthis_config-variable/)
- [addthis_share](http://www.addthis.com/academy/the-addthis_share-variable/)
## License

@@ -31,6 +52,3 @@

[travis-url]: https://travis-ci.org/code42day/code42day-addthis
[travis-image]: https://img.shields.io/travis/code42day/code42day-addthis.svg
[gemnasium-image]: https://img.shields.io/gemnasium/code42day/code42day-addthis.svg
[gemnasium-url]: https://gemnasium.com/code42day/code42day-addthis
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