nsliteral

    1.0.0 • Public • Published

    nsliteral

    JSON -> NSArray literal or NSDictionary literal

    Ex: fibrous-coffee> nsliteral 1 '@1'

    fibrous-coffee> nsliteral "hello"
    '@"hello"'
    
    fibrous-coffee> nsliteral [1,2,3]
    '@[@1, @2, @3]'
    
    fibrous-coffee> nsliteral {"hello": 1, world: [true, false, null]}
    '@{@"hello": @1, @"world": @[@(YES), @(NO), [NSNull null]], }'
    

    Install

    npm i nsliteral

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar