Skip to content

Commit

Permalink
chore: merge pull request #15 from threeal/better-output
Browse files Browse the repository at this point in the history
Better Terminal Output
  • Loading branch information
threeal authored Jul 18, 2023
2 parents 10a36e1 + f61765e commit 34395bc
Show file tree
Hide file tree
Showing 14 changed files with 403 additions and 42 deletions.
48 changes: 37 additions & 11 deletions lib/google-rank.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/google-rank.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions lib/utils/format.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { GoogleWebsiteRank } from "./google";
/**
* Formats the rank of a keyword as a string.
* @param keyword - The keyword string.
* @param rank - The rank of the keyword.
* @returns A formatted string. The rank will be displayed as a question mark if it is undefined.
*/
export declare function formatKeywordRank(keyword: string, rank?: GoogleWebsiteRank): string;
32 changes: 32 additions & 0 deletions lib/utils/format.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/utils/format.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/utils/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { formatKeywordRank } from "./format";
export { googleGetWebsiteRank, GoogleWebsiteRank } from "./google";
4 changes: 3 additions & 1 deletion lib/utils/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/utils/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 34395bc

Please sign in to comment.