Skip to content

Commit

Permalink
Merge pull request #40 from hckrnews/feature/trojs
Browse files Browse the repository at this point in the history
Move to TroJS
  • Loading branch information
w3nl committed Apr 19, 2024
2 parents 18faae1 + 46bd66d commit 5ee91fb
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 65 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

github: [w3nl]
patreon: w3news
buymeacoffee: https://www.buymeacoffee.com/hckrnews
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.10.0
20.12.2
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contributing

HckrNews Arrays is Free and Open Source Software. Issues and pull requests are more than welcome!
TroJS Arrays is Free and Open Source Software. Issues and pull requests are more than welcome!
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Hckr.News
Copyright (c) 2024 TroJS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
27 changes: 9 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Array Helpers

[![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]
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-stats]

Array helpers, so you can get very fast your data from the array.

Expand All @@ -9,15 +9,14 @@ Array helpers, so you can get very fast your data from the array.
If it has saved you development time, please consider [sponsoring the project](https://github.com/sponsors/w3nl)
with GitHub sponsors!

But me a coffee/book: https://www.buymeacoffee.com/hckrnews
Or on patreon: https://patreon.com/w3news

## Example usage

here an example array.

```javascript
import { Arr } from '@hckrnews/arrays';
import { Arr } from '@trojs/arrays';

var exampleArray = new Arr([
{
Expand Down Expand Up @@ -544,32 +543,24 @@ npm run lint

## node.js

To include @hckrnews/arrays in Node, first install with npm.
To include @trojs/arrays in Node, first install with npm.

```
npm install @hckrnews/arrays
npm install @trojs/arrays
```

Use the package in your node files.

```javascript
import { Arr } from '@hckrnews/arrays';
import { Arr } from '@trojs/arrays';
```

Than you can use all array helpers from this package in your node files.

An example is included `example/node.js`


[downloads-image]: https://img.shields.io/npm/dm/@hckrnews/arrays.svg
[npm-url]: https://www.npmjs.com/package/@hckrnews/arrays
[npm-image]: https://img.shields.io/npm/v/@hckrnews/arrays.svg
[npm-stats]: https://npm-stat.com/charts.html?package=@hckrnews/arrays
[travis-url]: https://www.travis-ci.com/github/hckrnews/arrays
[travis-image]: https://www.travis-ci.com/hckrnews/arrays.svg?branch=main
[coveralls-url]: https://coveralls.io/r/hckrnews/arrays
[coveralls-image]: https://img.shields.io/coveralls/hckrnews/arrays/master.svg
[codecov-url]: https://app.codecov.io/gh/hckrnews/arrays
[codecov-image]: https://img.shields.io/codecov/c/github/hckrnews/arrays.svg
[scrutinizer-url]: https://scrutinizer-ci.com/g/hckrnews/arrays/?branch=master
[scrutinizer-image]: https://scrutinizer-ci.com/g/hckrnews/arrays/badges/quality-score.png?b=main
[downloads-image]: https://img.shields.io/npm/dm/@trojs/arrays.svg
[npm-url]: https://www.npmjs.com/package/@trojs/arrays
[npm-image]: https://img.shields.io/npm/v/@trojs/arrays.svg
[npm-stats]: https://npm-stat.com/charts.html?package=@trojs/arrays
84 changes: 44 additions & 40 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hckrnews/arrays",
"version": "4.0.4",
"name": "@trojs/arrays",
"version": "5.0.0",
"description": "Usefull array helpers.",
"files": [
"src/helpers.js",
Expand Down Expand Up @@ -35,7 +35,7 @@
],
"author": {
"name": "Pieter Wigboldus",
"url": "https://hckr.news/"
"url": "https://trojs.org/"
},
"bugs": {
"url": "https://github.com/hckrnews/arrays/issues"
Expand Down

0 comments on commit 5ee91fb

Please sign in to comment.