Comparing version 1.4.0 to 1.4.1
{ | ||
"name": "jsona", | ||
"description": "Provide data formatters (data model builder & json builder) to work with JSON API specification v1.0 in your JavaScript / TypeScript code", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "json-api", |
@@ -30,3 +30,4 @@ # Jsona | ||
You need to instantiate Jsona ones, then use it's public methods to convert data. | ||
``` | ||
```javascript | ||
import Jsona from 'jsona'; | ||
const dataFormatter = new Jsona(); | ||
@@ -148,3 +149,5 @@ ``` | ||
Also, there is built-in [switchCasePropertyMappers](src/switchCasePropertyMappers.ts), that you can use if need to automatically transform property names from kebab, snake, camel case and back. | ||
### License | ||
Jsona, examples provided in this repository and in the documentation are [MIT licensed](./LICENSE). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124983
151