Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to TroJS #40

Merged
merged 2 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading