2.0.3 • Published 5 years ago
@miketmoore/maze-generator v2.0.3
Maze Generator
This is a javascript library, written in TypeScript that generates a maze data structure.
Install
yarn add maze-generator --devUsage
import { mazeGenerator } from 'maze-generator'
const grid = mazeGenerator({
rows: 10,
columns: 10
})Tests
yarn testPublishing a Release
- Checkout the commit that is ready to release.
- Check this out as a branch named
release-X.X.X - Compile
yarn build(this will also clean the build directory first) - the TypeScript is compiled to JavaScript into thedistdirectory. - Publish with
yarn publish --access=public. The CLI will prompt for the version number and npm credentials. - Navigate to https://www.npmjs.com/package/@miketmoore/maze-generator and smile :)
Benchmark
yarn && yarn build && yarn benchmarkExample output after benchmark test runs:
recursive x 117 ops/sec ±2.39% (66 runs sampled)
iterative x 125 ops/sec ±1.16% (71 runs sampled)
Fastest is iterative2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
7 years ago
1.0.12
7 years ago
1.0.11
7 years ago
1.0.10
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago