Skip to content

Commit 3105831

Browse files
committed
Move to TroJS
1 parent 70c2456 commit 3105831

9 files changed

+373
-506
lines changed

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [18.x, 20.x]
12+
node-version: [18.x, 20.x, 22.x]
1313

1414
steps:
1515
- uses: actions/checkout@v4

.github/workflows/npm-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
node-version: 20
4343
registry-url: https://npm.pkg.github.com/
4444
- run: npm ci
45-
- run: npm publish
45+
- run: npm publish --access public
4646
env:
4747
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Contributing
22

3-
HckrNews Paginator is Free and Open Source Software. Issues and pull requests are more than welcome!
3+
TroJS Paginator is Free and Open Source Software. Issues and pull requests are more than welcome!

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Hckr.News
3+
Copyright (c) 2024 TroJS
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+6-14
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Paginator
22

3-
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-stats] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Codecov Status][codecov-image]][codecov-url] [![Scrutinizer Code Quality][scrutinizer-image]][scrutinizer-url]
3+
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-stats]
44

55
With this package you can easy create a pagination object.
66

77
## Example usage
88

99
```javascript
10-
import Paginator from '@hckrnews/paginator'
10+
import Paginator from '@trojs/paginator'
1111

1212
const results = Paginator({
1313
items,
@@ -94,15 +94,7 @@ It returns all items for the given page.
9494
E.g. in the example you see all items for page 1 (second page).
9595
Because there are 21 items, the next page will return just an array with 1 item.
9696

97-
[downloads-image]: https://img.shields.io/npm/dm/@hckrnews/paginator.svg
98-
[npm-url]: https://www.npmjs.com/package/@hckrnews/paginator
99-
[npm-image]: https://img.shields.io/npm/v/@hckrnews/paginator.svg
100-
[npm-stats]: https://npm-stat.com/charts.html?package=@hckrnews/paginator
101-
[travis-url]: https://travis-ci.org/hckrnews/paginator
102-
[travis-image]: https://img.shields.io/travis/hckrnews/paginator/main.svg
103-
[coveralls-url]: https://coveralls.io/r/hckrnews/paginator
104-
[coveralls-image]: https://img.shields.io/coveralls/hckrnews/paginator/main.svg
105-
[codecov-url]: https://codecov.io/gh/hckrnews/paginator
106-
[codecov-image]: https://img.shields.io/codecov/c/github/hckrnews/paginator.svg
107-
[scrutinizer-url]: https://scrutinizer-ci.com/g/hckrnews/paginator/?branch=main
108-
[scrutinizer-image]: https://scrutinizer-ci.com/g/hckrnews/paginator/badges/quality-score.png?b=main
97+
[downloads-image]: https://img.shields.io/npm/dm/@trojs/paginator.svg
98+
[npm-url]: https://www.npmjs.com/package/@trojs/paginator
99+
[npm-image]: https://img.shields.io/npm/v/@trojs/paginator.svg
100+
[npm-stats]: https://npm-stat.com/charts.html?package=@trojs/paginator

0 commit comments

Comments
 (0)