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

seord

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seord - npm Package Compare versions

Comparing version 0.0.5-patch.1 to 0.0.5-patch.2

4

dist/seo-check.d.ts

@@ -11,3 +11,3 @@ import { SeoAnalyzer } from './seo-analyzer';

private makeContentLowerCase;
analyzeSeo(): {
analyzeSeo(): Promise<{
seoScore: number;

@@ -32,3 +32,3 @@ wordCount: number;

};
};
}>;
}
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,19 +32,21 @@ exports.SeoCheck = void 0;

analyzeSeo() {
return {
seoScore: this.seoAnalyzer.getSeoScore(),
wordCount: this.htmlAnalyzer.getWordCount(),
keywordSeoScore: this.seoAnalyzer.getKeywordSeoScore(),
keywordFrequency: this.seoAnalyzer.countOccurrencesInString(),
messages: this.seoAnalyzer.messages,
keywordDensity: this.seoAnalyzer.keywordDensity,
subKeywordDensity: this.seoAnalyzer.getSubKeywordsDensity(),
totalLinks: this.htmlAnalyzer.getAllLinks().length,
internalLinks: this.htmlAnalyzer.getInternalLinks(),
outboundLinks: this.htmlAnalyzer.getOutboundLinks(),
titleSEO: {
subKeywordsWithTitle: this.seoAnalyzer.getSubKeywordsInTitle(),
keywordWithTitle: this.seoAnalyzer.getKeywordInTitle(),
wordCount: this.seoAnalyzer.getTitleWordCount(),
}
};
return __awaiter(this, void 0, void 0, function* () {
return {
seoScore: this.seoAnalyzer.getSeoScore(),
wordCount: this.htmlAnalyzer.getWordCount(),
keywordSeoScore: this.seoAnalyzer.getKeywordSeoScore(),
keywordFrequency: this.seoAnalyzer.countOccurrencesInString(),
messages: this.seoAnalyzer.messages,
keywordDensity: this.seoAnalyzer.keywordDensity,
subKeywordDensity: this.seoAnalyzer.getSubKeywordsDensity(),
totalLinks: this.htmlAnalyzer.getAllLinks().length,
internalLinks: this.htmlAnalyzer.getInternalLinks(),
outboundLinks: this.htmlAnalyzer.getOutboundLinks(),
titleSEO: {
subKeywordsWithTitle: this.seoAnalyzer.getSubKeywordsInTitle(),
keywordWithTitle: this.seoAnalyzer.getKeywordInTitle(),
wordCount: this.seoAnalyzer.getTitleWordCount(),
}
};
});
}

@@ -42,0 +53,0 @@ }

{
"name": "seord",
"version": "0.0.5-patch.1",
"version": "0.0.5-patch.2",
"description": "Advanced SEO Analyzer",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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