Published v2.3.0 of aws-iam-policy
a typescript library for handling AWS IAM Policy documents.
It now supports the peculiarities of values that can be a string or an array for all supported fields: Action, Resource, Principal and Condition.
https://www.npmjs.com/package/@thinkinglabs/aws-iam-policy