@cashfarm/lang
Extends TypeScript/Javascript with basic classes and functions
Last updated 3 years ago by svallory .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cashfarm/lang 
SYNC missed versions from official npm registry.

The lang package

Languages are awesome! Well... most of them are. And that's the case for TypeScript.

Sometimes there are a couple things we miss though...

And, when that happens, instead of complaining about it, we create a lang package :)

Check the API documentation at http://cashfarm.github.io/lang

Changelog

v0.8.1

  • Add deserializeArray method for use with JSON array strings

v0.8.0

  • [BREAKING CHANGE] Removes the ExtendedObject class
  • New (de)serialization methods: serialize, deserialize, primitify and classify
  • Decorators for controlling serialization

v0.7.1

  • Add FQN decorator and decorate package's classes
  • Move symbols into Symbols object
  • Add default value ({}) for ConcreteType type parameter

v0.7

  • Add FQN support (parseFQN() and requireByFQN())
  • Add StringWrapper and NumberWrapper classes for easy primitive subclassing
  • Add Exception class which properly extends native Error
  • Add Constructor<T> type
  • Add tests for Decimal, FQN and Guid
  • Improve code documentation and add API documentation
  • Refactor Decimal and Guid classes to extend wrappers
  • Deprecated ExtendedObject and serialization decorators

Breaking Changes

  • OrderDirection enum values are now 'ASC' and 'DESC' (previously 1 and -1 respectivelly)
  • Removed IEnumerable and Iterator interfaces
  • Sortable class is now a mixin

Current Tags

  • 0.8.4                                ...           latest (3 years ago)

15 Versions

  • 0.8.4                                ...           3 years ago
  • 0.8.3                                ...           3 years ago
  • 0.8.2                                ...           3 years ago
  • 0.8.1                                ...           3 years ago
  • 0.8.0                                ...           3 years ago
  • 0.7.1                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.5                                ...           3 years ago
  • 0.6.4                                ...           3 years ago
  • 0.6.3                                ...           3 years ago
  • 0.6.2                                ...           3 years ago
  • 0.6.1                                ...           3 years ago
  • 0.6.0                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.0.1                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (41)

Copyright 2014 - 2017 © taobao.org |