Skip to content

Commit

Permalink
😒 chore: Change GitHub org and npm @scope.
Browse files Browse the repository at this point in the history
The new GitHub organization is data-structures-and-algorithms and the
new npm scope is @data-structure.
  • Loading branch information
make-github-pseudonymous-again committed Apr 28, 2021
1 parent 7596847 commit b9b2b58
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 29 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
:cherries: [@aureooms/js-pairs](https://make-github-pseudonymous-again.github.io/js-pairs)
:cherries: [@data-structure/pairs](https://data-structures-and-algorithms.github.io/pairs)
==

Pairs set for JavaScript.
See [docs](https://make-github-pseudonymous-again.github.io/js-pairs/index.html).
See [docs](https://data-structures-and-algorithms.github.io/pairs/index.html).

> :warning: The code requires `regeneratorRuntime` to be defined, for instance by importing
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).
```js
import {EfficientlyInvertiblePairs as Pairs} from '@aureooms/js-pairs';
import {EfficientlyInvertiblePairs as Pairs} from '@data-structure/pairs';
const pairs = Pairs.from(['ab', [1,2], [1,3]]);
pairs.left(); // a 1
pairs.right(); // b 2 3
Expand All @@ -20,17 +20,17 @@ pairs.add('bc');
...
```

[![License](https://img.shields.io/github/license/make-github-pseudonymous-again/js-pairs.svg)](https://raw.githubusercontent.com/make-github-pseudonymous-again/js-pairs/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@aureooms/js-pairs.svg)](https://www.npmjs.org/package/@aureooms/js-pairs)
[![Tests](https://img.shields.io/github/workflow/status/make-github-pseudonymous-again/js-pairs/ci:test?event=push&label=tests)](https://github.com/make-github-pseudonymous-again/js-pairs/actions/workflows/ci:test.yml?query=branch:main)
[![Dependencies](https://img.shields.io/david/make-github-pseudonymous-again/js-pairs.svg)](https://david-dm.org/make-github-pseudonymous-again/js-pairs)
[![Dev dependencies](https://img.shields.io/david/dev/make-github-pseudonymous-again/js-pairs.svg)](https://david-dm.org/make-github-pseudonymous-again/js-pairs?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/make-github-pseudonymous-again/js-pairs.svg)](https://github.com/make-github-pseudonymous-again/js-pairs/issues)
[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-pairs.svg)](https://www.npmjs.org/package/@aureooms/js-pairs)
[![License](https://img.shields.io/github/license/data-structures-and-algorithms/pairs.svg)](https://raw.githubusercontent.com/data-structures-and-algorithms/pairs/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@data-structure/pairs.svg)](https://www.npmjs.org/package/@data-structure/pairs)
[![Tests](https://img.shields.io/github/workflow/status/data-structures-and-algorithms/pairs/ci:test?event=push&label=tests)](https://github.com/data-structures-and-algorithms/pairs/actions/workflows/ci:test.yml?query=branch:main)
[![Dependencies](https://img.shields.io/david/data-structures-and-algorithms/pairs.svg)](https://david-dm.org/data-structures-and-algorithms/pairs)
[![Dev dependencies](https://img.shields.io/david/dev/data-structures-and-algorithms/pairs.svg)](https://david-dm.org/data-structures-and-algorithms/pairs?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/data-structures-and-algorithms/pairs.svg)](https://github.com/data-structures-and-algorithms/pairs/issues)
[![Downloads](https://img.shields.io/npm/dm/@data-structure/pairs.svg)](https://www.npmjs.org/package/@data-structure/pairs)

[![Code issues](https://img.shields.io/codeclimate/issues/make-github-pseudonymous-again/js-pairs.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-pairs/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/make-github-pseudonymous-again/js-pairs.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-pairs/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/make-github-pseudonymous-again/js-pairs/main.svg)](https://codecov.io/gh/make-github-pseudonymous-again/js-pairs)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/make-github-pseudonymous-again/js-pairs.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-pairs/trends/technical_debt)
[![Documentation](https://make-github-pseudonymous-again.github.io/js-pairs/badge.svg)](https://make-github-pseudonymous-again.github.io/js-pairs/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-pairs)](https://bundlephobia.com/result?p=@aureooms/js-pairs)
[![Code issues](https://img.shields.io/codeclimate/issues/data-structures-and-algorithms/pairs.svg)](https://codeclimate.com/github/data-structures-and-algorithms/pairs/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/data-structures-and-algorithms/pairs.svg)](https://codeclimate.com/github/data-structures-and-algorithms/pairs/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/data-structures-and-algorithms/pairs/main.svg)](https://codecov.io/gh/data-structures-and-algorithms/pairs)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/data-structures-and-algorithms/pairs.svg)](https://codeclimate.com/github/data-structures-and-algorithms/pairs/trends/technical_debt)
[![Documentation](https://data-structures-and-algorithms.github.io/pairs/badge.svg)](https://data-structures-and-algorithms.github.io/pairs/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@data-structure/pairs)](https://bundlephobia.com/result?p=@data-structure/pairs)
2 changes: 1 addition & 1 deletion doc/manual/example.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Examples

> More examples in [the test files](https://github.com/make-github-pseudonymous-again/js-pairs/tree/main/test/src).
> More examples in [the test files](https://github.com/data-structures-and-algorithms/pairs/tree/main/test/src).
6 changes: 3 additions & 3 deletions doc/manual/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ or [jspm](https://jspm.org/docs).

### yarn
```terminal
yarn add @aureooms/js-pairs
yarn add @data-structure/pairs
```

### npm
```terminal
npm install @aureooms/js-pairs --save
npm install @data-structure/pairs --save
```

### jspm
```terminal
jspm install npm:@aureooms/js-pairs
jspm install npm:@data-structure/pairs
```
4 changes: 2 additions & 2 deletions doc/manual/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'regenerator-runtime/runtime.js' ;

Then, import the library where needed
```js
const pairs = require( '@aureooms/js-pairs' ) ;
const pairs = require( '@data-structure/pairs' ) ;
// or
import * as pairs from '@aureooms/js-pairs' ;
import * as pairs from '@data-structure/pairs' ;
```
4 changes: 2 additions & 2 deletions doc/scripts/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ const domReady = function (callback) {
domReady(() => {
const projectname = document.createElement('a');
projectname.classList.add('project-name');
projectname.text = 'aureooms/js-pairs';
projectname.text = '@data-structure/pairs';
projectname.href = './index.html';

const header = document.querySelector('header');
header.insertBefore(projectname, header.firstChild);

const testlink = document.querySelector('header > a[data-ice="testLink"]');
testlink.href =
'https://coveralls.io/github/make-github-pseudonymous-again/js-pairs';
'https://coveralls.io/github/data-structures-and-algorithms/pairs';
testlink.target = '_BLANK';

const searchBox = document.querySelector('.search-box');
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@aureooms/js-pairs",
"name": "@data-structure/pairs",
"description": "Pairs set for JavaScript",
"version": "2.0.0",
"license": "AGPL-3.0",
"author": "aureooms",
"homepage": "https://make-github-pseudonymous-again.github.io/js-pairs",
"author": "make-github-pseudonymous-again",
"homepage": "https://data-structures-and-algorithms.github.io/pairs",
"repository": {
"type": "git",
"url": "https://github.com/make-github-pseudonymous-again/js-pairs"
"url": "https://github.com/data-structures-and-algorithms/pairs"
},
"bugs": {
"url": "https://github.com/make-github-pseudonymous-again/js-pairs/issues"
"url": "https://github.com/data-structures-and-algorithms/pairs/issues"
},
"keywords": [
"pairs",
Expand Down

0 comments on commit b9b2b58

Please sign in to comment.