Skip to content

Releases: IonicaBizau/typpy

2.3.4

15 Sep 09:02
Compare
Choose a tag to compare

Use the function.name shim

2.3.3

25 May 11:45
Compare
Choose a tag to compare
  • Updated the README.md following the new template. πŸ“
  • Use babel-it to babelify the code, so the module is now compatible with older versions of Node.js.

2.3.2

25 Apr 15:53
Compare
Choose a tag to compare

Whitelist the npm files.

2.3.1

14 Jan 12:52
Compare
Choose a tag to compare
  • 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

03 Dec 14:58
Compare
Choose a tag to compare
  • 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

12 Nov 14:24
Compare
Choose a tag to compare

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

20 Oct 07:13
Compare
Choose a tag to compare

Fixed the email address in the LICENSE file.

2.1.1

20 Oct 07:10
Compare
Choose a tag to compare
  • Renamed the repository
  • Minor updates in README.md
  • Fixes in the CONTRIBUTING.md

2.1.0

22 Jul 13:51
Compare
Choose a tag to compare

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

16 Jun 11:45
Compare
Choose a tag to compare
  • Typpy(null) // => "null"
  • Added tests
  • Added Travis integration.