npm.io
5.0.0 • Published 2 years ago

onedionys-seo-friendly-pagination

Licence
ISC
Version
5.0.0
Deps
132
Size
11 kB
Vulns
0
Weekly
0
Stars
2

Welcome to One Dionys - SEO-friendly Pagination!

Components for sharing content across multiple pages with SEO-friendly URLs, improving rankings in search results.

Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

How To Use

Example Syntax
const { paginate } = require('seo-friendly-pagination');

const currentPage = 1;
const totalPages = 10;

const pagination = paginate(currentPage, totalPages);

console.log(pagination);
Explanation
  • This package provides a function to generate SEO-friendly pagination metadata, such as the current page number and the total number of pages.
Return Value
  • The paginate function returns an object containing pagination metadata, including the current page number (page) and the total number of pages (totalPages).

Release Date

  • v1.0.0 : 17 March 2024
  • v1.0.1 : 18 March 2024
  • v1.0.2 : 31 March 2024
  • v5.0.0 : 31 March 2024

Author

License

  • Copyright 2024 One Dionys
  • One Dionys - SEO-friendly Pagination is an open source project licensed under the MIT license

Suppport & Donation

Love One Dionys - SEO-friendly Pagination? Support this project by donating or sharing with others in need.

Made with One Dionys

Keywords