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

bigseo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigseo - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

static/angular-bigseo.js

12

index.js

@@ -20,2 +20,3 @@ 'use_strict';

"Ruby": true,
"bigseo/test": true,
'undefined': true,

@@ -123,2 +124,13 @@ "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)": true,

router.get('/bigseo/angular-bigseo.js', function(req, res) {
fs.readFile(currentDir + '/static/angular-bigseo.js', function(err, data) {
if(!err) {
res.status(200).send(data);
}
else {
res.send(404);
}
});
});
return router;

@@ -125,0 +137,0 @@ };

4

package.json
{
"name": "bigseo",
"version": "0.2.0",
"version": "0.3.0",
"description": "BigSEO is a ExpresJS module built for apps who need a SEO Engine exclusively for web crawlers such as Google, Bing, Facebook, etc.",
"keywords": "seo, engine, express, cache, crawler, bigseo",
"keywords": "seo, engine, express, cache, crawler, bigseo, angularjs",
"main": "index.js",

@@ -7,0 +7,0 @@ "author": "Rafael Grillo Abreu <grillorafael@gmail.com> (http://rgrillo.com/)",

@@ -10,2 +10,3 @@ # BigSEO

Things you can make crawlers see if you use BigSEO:
1. AngularJS rendered pages

@@ -18,2 +19,3 @@ 1. Disqus comments

Things you can do if you use BigSEO:
1. Add crawlers meta tags via javascript

@@ -87,2 +89,27 @@ 1. Load your content through AJAX

## Using with angularjs
Import BigSEO's AngularJS module
```html
<script src='/bigseo/angular-bigseo.js'></script>
```
Add to your application modules
```javascript
var yourApp = angular.module('yourApp', ['bigseo']);
```
Add to your Controller and call it when you have everything loaded
```javascript
angular.module('test').controller('IndexCtrl', ['$scope', '$location', 'API', 'bigseo', function($scope, $location, API, bigseo) {
API.list().
success(function (data, status, headers, config) {
$scope.beers = data.beers;
bigseo.save();
}).
error(function (data, status, headers, config) {
});
}]);
```
## user-agents reference

@@ -89,0 +116,0 @@ The user agents reference can be found [here](http://user-agent-string.info/list-of-ua/bots).

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