@hkbn/es-header-footer 7.1.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @hkbn/es-header-footer might be problematic. Click here for more details.

Files changed (4) hide show
  1. package/README.md +84 -0
  2. package/helpers.js +747 -0
  3. package/index.js +678 -0
  4. package/package.json +21 -0
package/README.md ADDED
@@ -0,0 +1,84 @@
1
+ # <img src="docs_app/src/assets/images/logos/Rx_Logo_S.png" alt="RxJS Logo" width="86" height="86"> RxJS: Reactive Extensions For JavaScript
2
+
3
+ ![CI](https://github.com/reactivex/rxjs/workflows/CI/badge.svg)
4
+ [![npm version](https://badge.fury.io/js/rxjs.svg)](http://badge.fury.io/js/rxjs)
5
+ [![Join the chat at https://gitter.im/Reactive-Extensions/RxJS](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Reactive-Extensions/RxJS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6
+
7
+ # RxJS 8
8
+
9
+ ### FOR 7.X PLEASE GO TO [THE 7.x BRANCH](https://github.com/ReactiveX/rxjs/tree/7.x)
10
+
11
+ Reactive Extensions Library for JavaScript. This is a rewrite of [Reactive-Extensions/RxJS](https://github.com/Reactive-Extensions/RxJS) and is the latest production-ready version of RxJS. This rewrite is meant to have better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface.
12
+
13
+ [Apache 2.0 License](LICENSE.txt)
14
+
15
+ - [Code of Conduct](CODE_OF_CONDUCT.md)
16
+ - [Contribution Guidelines](CONTRIBUTING.md)
17
+ - [Maintainer Guidelines](docs_app/content/maintainer-guidelines.md)
18
+ - [API Documentation](https://rxjs.dev/)
19
+
20
+ ## Versions In This Repository
21
+
22
+ - [master](https://github.com/ReactiveX/rxjs/commits/master) - This is all of the current work, which is against v8 of RxJS right now
23
+ - [7.x](https://github.com/ReactiveX/rxjs/tree/7.x) - This is the branch for version 7.X
24
+ - [6.x](https://github.com/ReactiveX/rxjs/tree/6.x) - This is the branch for version 6.X
25
+
26
+ Most PRs should be made to **master**.
27
+
28
+ ## Important
29
+
30
+ By contributing or commenting on issues in this repository, whether you've read them or not, you're agreeing to the [Contributor Code of Conduct](CODE_OF_CONDUCT.md). Much like traffic laws, ignorance doesn't grant you immunity.
31
+
32
+ ## Installation and Usage
33
+
34
+ ### ES6 via npm
35
+
36
+ ```shell
37
+ npm install rxjs
38
+ ```
39
+
40
+ It's recommended to pull in the Observable creation methods you need directly from `'rxjs'` as shown below with `range`.
41
+ If you're using RxJS version 7.2 or above, you can pull in any operator you need from the same spot, `'rxjs'`.
42
+
43
+ ```ts
44
+ import { range, filter, map } from 'rxjs';
45
+
46
+ range(1, 200)
47
+ .pipe(
48
+ filter((x) => x % 2 === 1),
49
+ map((x) => x + x)
50
+ )
51
+ .subscribe((x) => console.log(x));
52
+ ```
53
+
54
+ If you're using RxJS version below 7.2, you can pull in any operator you need from one spot, under `'rxjs/operators'`.
55
+
56
+ ```ts
57
+ import { range } from 'rxjs';
58
+ import { filter, map } from 'rxjs/operators';
59
+
60
+ range(1, 200)
61
+ .pipe(
62
+ filter((x) => x % 2 === 1),
63
+ map((x) => x + x)
64
+ )
65
+ .subscribe((x) => console.log(x));
66
+ ```
67
+
68
+ ## Goals
69
+
70
+ - Smaller overall bundles sizes
71
+ - Provide better performance than preceding versions of RxJS
72
+ - To model/follow the [Observable Spec Proposal](https://github.com/zenparsing/es-observable) to the observable
73
+ - Provide more modular file structure in a variety of formats
74
+ - Provide more debuggable call stacks than preceding versions of RxJS
75
+
76
+ ## Building/Testing
77
+
78
+ - `npm run compile` build everything
79
+ - `npm test` run tests
80
+ - `npm run dtslint` run dtslint tests
81
+
82
+ ## Adding documentation
83
+
84
+ We appreciate all contributions to the documentation of any type. All of the information needed to get the docs app up and running locally as well as how to contribute can be found in the [documentation directory](./docs_app).