https://github.com/parzh/xrange__core
The very core of xrange, provided as a separate package
https://github.com/parzh/xrange__core
Last synced: 4 months ago
JSON representation
The very core of xrange, provided as a separate package
- Host: GitHub
- URL: https://github.com/parzh/xrange__core
- Owner: parzh
- Created: 2020-05-11T09:23:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T01:16:14.000Z (over 1 year ago)
- Last Synced: 2025-02-18T23:40:28.456Z (5 months ago)
- Language: TypeScript
- Homepage: https://npmjs.org/package/@xrange/core
- Size: 1.21 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `@xrange/core`
### The very core of `xrange`, provided as a separate package
Created withcreate-package-typescript
## Differences from `xrange`:
- only numeric implementation with two or three numeric arguments: `xrange(start, stop, step?)`;
- no proper support of decimal numbers, only integers;
- no custom errors, such as `"argument is required"` or `"argument must infinite"`;
- no intelligent boundary swapping, — e.g., `xrange(10, 1)` will not iterate;
- only Node.JS is supported (for now at least);