Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commodo/fields

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commodo/fields - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.0.3](https://github.com/webiny/commodo/compare/@commodo/fields@0.0.2...@commodo/fields@0.0.3) (2019-04-23)
### Bug Fixes
* add missing README.md files ([7228d9c](https://github.com/webiny/commodo/commit/7228d9c))
## [0.0.2](https://github.com/webiny/commodo/compare/@commodo/fields@0.0.1...@commodo/fields@0.0.2) (2019-04-23)

@@ -8,0 +19,0 @@

4

package.json
{
"name": "@commodo/fields",
"version": "0.0.2",
"version": "0.0.3",
"main": "index.js",

@@ -28,3 +28,3 @@ "repository": {

],
"gitHead": "afbbca83bb106684d11842373a5daeae36cb136a"
"gitHead": "29c7049771f2ec8f09049955d9820c60176ecbce"
}

@@ -1,19 +0,3 @@

![alt text](docs/assets/logo.png "Logo Title Text 1")
# @commodo/fields
```
import { string, number, boolean } from "@commodo/fields/fields";
import { withFields } from "@commodo/fields";
import { withProps } from "repropose";
import { compose } from "ramda";
const User = compose(
withFields({
firstName: string(),
lastName: string(),
email: string(),
age: string(),
enabled: string()
})
)(function() {});
const user = new User();
✍️
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc