0.1.28 • Published 5 years ago

@skpm/util v0.1.28

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

util for Sketch

All the util nodejs API is available.

Additionally, 5 more methods are available:

  • isNativeObject: return whether the argument is a native objc object
  • getNativeClass: return the class name of a native object
  • toArray: cast assimilated arrays (NSArray) to a proper JS array
  • toObject: cast assimilated objects (NSDictionary) to a proper JS object
  • toJSObject: cast any object or primitive into its proper JS counterpart. Note that NSDictionary and NSArray elements are not recursively converted unless an options object is passed as the second argument and options.recurse is set to true

Because of CocoaScript, isNull is not going to work.

0.1.28

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago