Releases: IonicaBizau/typpy
Releases Β· IonicaBizau/typpy
2.3.4
Use the function.name shim
2.3.3
2.3.2
Whitelist the npm files.
2.3.1
- Added badges π
- PayPal Donations
- npm downloads
- npm version
- Travis (if there are tests)
- CodeMentorβyou can ping me there if you need help with one of these modules (or help in general).
- Updated the LICENSE year. π
2.3.0
- Added package.json
- Improved the documentation.
- Integrated json2md with blah to get the best flexibility in generating documentation. π«
- Relicense to MIT and link to the license. β€οΈ
Regarding the integration of json2md into blah, read this blog post I wrote.
2.2.0
This update is part of the biggest process of cleaning up my GitHub projects:
- Some of the repos were merged with other repos. π
- Obsolete repositories (actually these that didn't have any functionality) were been deleted. π₯
- Most of them got better documentation using blah configuration. π π π
Changes
- Improved documentation π
- Added/updated the the CONTRIBUTING.md file. π
- Integrated json2md with blah to get the best flexibility in generating documentation. π«
Regarding the integration of json2md into blah, read this blog post I wrote.
2.1.2
Fixed the email address in the LICENSE file.
2.1.1
- Renamed the repository
- Minor updates in README.md
- Fixes in the CONTRIBUTING.md
2.1.0
The old usage is still there (Typpy([]) === "array"
) but now Typpy
is a little bit smarter: if we pass a second argument, Typpy
returns a Boolean
value:
Typpy("Hello World", String); // => true
Typpy(42, "number"); // => true
Internally it uses the following new functions:
Typpy.is
: checks if the input has the same type with a provided type (constructor or string)Typpy.get
: gets the input value type and returns the constructor or the string
Bonus, starting with this release, NaN
is handled too. It's not considered a number but a NaN
(not a number). β¨
2.0.0
Typpy(null) // => "null"
- Added tests
- Added Travis integration.