basura

Generate random JavaScript

MIT License

Downloads
29
Stars
0
Committers
1
basura - Extract random Latest Release

Published by hildjj about 2 months ago

What's Changed

Full Changelog: https://github.com/hildjj/basura/compare/v3.0.1...v3.0.2

basura - Update

Published by hildjj about 2 months ago

Update everything to the latest versions, fix lint issues.

basura - Types and extensibility

Published by hildjj 8 months ago

Added these types:

  • Error (and standard subclasses)
  • Promise
  • WeakSet
  • WeakMap
  • WeakRef
  • Generator

Made type frequencies settable. Changed the frequency of several types.
Added examples of adding your own types.
Added CLI support for custom types.

basura - ES6

Published by hildjj over 1 year ago

Breaking: moved to ES6
Breaking: now requires node 16+
Updated all dependencies

basura -

Published by hildjj over 3 years ago

Added --noBoxed to not generate annoying types like new String('foo'), new Boolean(false), and new Number(NaN). Made generation of "fun" numbers ([NaN, 0, -0, Infinity, -Infinity]) a part of generate_number at 10% density, so they wouldn't be quite so prevalent. Sometimes generate port numbers on URLs. Added full API docs.