├── .github
├── dependabot.yml
└── workflows
│ └── tests.yml
├── .gitignore
├── .npmignore
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE.md
├── README.md
├── axe.png
├── example.js
├── factory.js
├── index.js
├── package.json
└── test.js
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | # Basic dependabot.yml file with
2 | # minimum configuration for two package managers
3 |
4 | version: 2
5 | updates:
6 | # Enable version updates for npm
7 | - package-ecosystem: "npm"
8 | # Look for `package.json` and `lock` files in the `root` directory
9 | directory: "/"
10 | # Check the npm registry for updates every day (weekdays)
11 | schedule:
12 | interval: "daily"
13 | # Enable updates to github actions
14 | - package-ecosystem: "github-actions"
15 | directory: "/"
16 | schedule:
17 | interval: "daily"
18 |
--------------------------------------------------------------------------------
/.github/workflows/tests.yml:
--------------------------------------------------------------------------------
1 | name: tests
2 |
3 | on:
4 | pull_request:
5 | push:
6 | branches:
7 | - main
8 |
9 | jobs:
10 | test:
11 | runs-on: ${{ matrix.os }}
12 |
13 | strategy:
14 | matrix:
15 | os: [ubuntu-latest]
16 | node: [16, 18]
17 |
18 | steps:
19 | - uses: actions/checkout@v4
20 | - name: Use Node.js ${{ matrix.node }}
21 | uses: actions/setup-node@v4
22 | with:
23 | node-version: ${{ matrix.node }}
24 | - run: npm i
25 | - run: npm test
26 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | package-lock.json
3 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | axe.png
2 | example.js
3 | test.js
4 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4 |
5 | ### [2.0.1](https://github.com/ungoldman/hyperaxe/compare/v2.0.0...v2.0.1) (2022-05-08)
6 |
7 |
8 | ### Bug Fixes
9 |
10 | * **engines:** set min node to 12 ([e61d87b](https://github.com/ungoldman/hyperaxe/commit/e61d87bdf0e41c29cd814ffd99739a946578fe99))
11 |
12 |
13 | # [2.0.0](https://github.com/ungoldman/hyperaxe/compare/v1.3.0...v2.0.0) (2022-03-17)
14 |
15 | ### Breaking Changes
16 | - dropped support for all node versions below 12
17 | - currently supported versions: node 12, 14, 16
18 |
19 | ### Misc
20 | - docs: update badges, rm tap-spec
21 | - ci: use gh actions
22 | - rm .travis.yml
23 | - lint: standard@16
24 | - deps(dev): standard@16, standard-version@9, tape@5, rm tap-spec
25 | - add .gitignore
26 | - chore(deps-dev): bump standard-version from 7.1.0 to 8.0.1 (#12)
27 | - Add innerHTML documentation and upgrade deps (#10)
28 |
29 |
30 | # [1.3.0](https://github.com/ungoldman/hyperaxe/compare/v1.2.0...v1.3.0) (2018-10-05)
31 |
32 |
33 | ### Features
34 |
35 | * split out and document factory functions ([#8](https://github.com/ungoldman/hyperaxe/issues/8)) ([b477afe](https://github.com/ungoldman/hyperaxe/commit/b477afe))
36 |
37 |
38 |
39 |
40 | # [1.2.0](https://github.com/ungoldman/hyperaxe/compare/v1.1.1...v1.2.0) (2018-10-03)
41 |
42 |
43 | ### Features
44 |
45 | * add getFactory method for cached factories ([#5](https://github.com/ungoldman/hyperaxe/issues/5)) ([4d6ff78](https://github.com/ungoldman/hyperaxe/commit/4d6ff78))
46 |
47 |
48 |
49 |
50 | ## [1.1.1](https://github.com/ungoldman/hyperaxe/compare/v1.1.0...v1.1.1) (2018-02-28)
51 |
52 |
53 |
54 |
55 | # [1.1.0](https://github.com/ungoldman/hyperaxe/compare/v1.0.2...v1.1.0) (2018-02-27)
56 |
57 |
58 | ### Features
59 |
60 | * export createFactory function ([#2](https://github.com/ungoldman/hyperaxe/issues/2)) ([a7b237d](https://github.com/ungoldman/hyperaxe/commit/a7b237d))
61 |
62 |
63 |
64 |
65 | ## [1.0.2](https://github.com/ungoldman/hyperaxe/compare/v1.0.1...v1.0.2) (2018-02-23)
66 |
67 |
68 | ### Bug Fixes
69 |
70 | * simplify kid slicing factory ([b6c6b70](https://github.com/ungoldman/hyperaxe/commit/b6c6b70))
71 |
72 |
73 |
74 |
75 | ## [1.0.1](https://github.com/ungoldman/hyperaxe/compare/v1.0.0...v1.0.1) (2018-02-21)
76 |
77 |
78 | ### Bug Fixes
79 |
80 | * **deps:** remove is-plain-object ([129ee34](https://github.com/ungoldman/hyperaxe/commit/129ee34))
81 |
82 |
83 |
84 |
85 | # 1.0.0 (2018-02-17)
86 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing Guidelines
2 |
3 | ## Code of Conduct
4 |
5 | This project is intended to be a safe, welcoming space for collaboration. All contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. Thank you for being kind to each other!
6 |
7 | ## Contributions welcome!
8 |
9 | **Before spending lots of time on something, ask for feedback on your idea first!**
10 |
11 | Please search [issues](../../issues/) and [pull requests](../../pulls/) before adding something new! This helps avoid duplicating efforts and conversations.
12 |
13 | This project welcomes any kind of contribution! Here are a few suggestions:
14 |
15 | - **Ideas**: participate in an issue thread or start your own to have your voice heard.
16 | - **Writing**: contribute your expertise in an area by helping expand the included content.
17 | - **Copy editing**: fix typos, clarify language, and generally improve the quality of the content.
18 | - **Formatting**: help keep content easy to read with consistent formatting.
19 | - **Code**: help maintain and improve the project codebase.
20 |
21 | ## Code Style
22 |
23 | [![standard][standard-image]][standard-url]
24 |
25 | This repository uses [`standard`][standard-url] to maintain code style and consistency, and to avoid style arguments.
26 |
27 | [standard-image]: https://cdn.rawgit.com/feross/standard/master/badge.svg
28 | [standard-url]: https://github.com/feross/standard
29 | [semistandard-image]: https://cdn.rawgit.com/flet/semistandard/master/badge.svg
30 | [semistandard-url]: https://github.com/Flet/semistandard
31 |
32 | ## Project Governance
33 |
34 | **This is an [OPEN Open Source Project](http://openopensource.org/).**
35 |
36 | Individuals making significant and valuable contributions are given commit access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
37 |
38 | ### Rules
39 |
40 | There are a few basic ground rules for collaborators:
41 |
42 | 1. **No `--force` pushes** or modifying the Git history in any way.
43 | 1. **Non-master branches** ought to be used for ongoing work.
44 | 1. **External API changes and significant modifications** ought to be subject to an **internal pull request** to solicit feedback from other contributors.
45 | 1. Internal pull requests to solicit feedback are *encouraged* for any other non-trivial contribution but left to the discretion of the contributor.
46 | 1. Contributors should attempt to adhere to the prevailing code style.
47 |
48 | ### Releases
49 |
50 | Declaring formal releases remains the prerogative of the project maintainer.
51 |
52 | ### Changes to this arrangement
53 |
54 | This is an experiment and feedback is welcome! This document may also be subject to pull requests or changes by contributors where you believe you have something valuable to add or change.
55 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | # [ISC License](https://spdx.org/licenses/ISC)
2 |
3 | Copyright (c) 2018, Nate Goldman (https://ungoldman.com/)
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |