{"_id":"react-extra-prop-types","_rev":"7-5ada24b55e414e42ef6e14f8b6dc96f7","name":"react-extra-prop-types","description":"Extra PropTypes for use with React components","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"react-extra-prop-types","version":"0.1.0","description":"Extra PropTypes for use with React components","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/benwiley4000/react-extra-prop-types.git"},"keywords":["react","props","proptypes","proptype","integer","int","color","hex","date","datetime","uuid","extra"],"author":{"name":"Ben Wiley"},"license":"MIT","bugs":{"url":"https://github.com/benwiley4000/react-extra-prop-types/issues"},"homepage":"https://github.com/benwiley4000/react-extra-prop-types#readme","gitHead":"947df91bc66057694989267289f6e12a626b1821","_id":"react-extra-prop-types@0.1.0","_shasum":"6281a288ca7bd0accf08641e9b2aaa3216885f88","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"benwiley4000","email":"therealbenwiley@gmail.com"},"dist":{"shasum":"6281a288ca7bd0accf08641e9b2aaa3216885f88","tarball":"https://registry.npmjs.org/react-extra-prop-types/-/react-extra-prop-types-0.1.0.tgz","integrity":"sha512-UKjQdbA/QybUt38CRkxH/Ri4XUMvu4jiRVe5DYiXSy//lXHcytp+fon63HtV6JyKwniJVYzwq3ZFGttgVnQl2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsFoOeUR4VHNkiTgHwL6FPaFMh70JoeiAYcDdPjndCrgIhAL/yg3C9ZYBfPTJEGQRg2IKso8/qp8EGHPi6HvW+XTq7"}]},"maintainers":[{"name":"benwiley4000","email":"therealbenwiley@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-extra-prop-types-0.1.0.tgz_1481183064500_0.5700784532818943"}},"0.2.0":{"name":"react-extra-prop-types","version":"0.2.0","description":"Extra PropTypes for use with React components","main":"index.js","scripts":{"test":"tape test.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/benwiley4000/react-extra-prop-types.git"},"keywords":["react","props","proptypes","proptype","integer","int","color","hex","date","datetime","uuid","guid","extra"],"author":{"name":"Ben Wiley"},"license":"MIT","bugs":{"url":"https://github.com/benwiley4000/react-extra-prop-types/issues"},"homepage":"https://github.com/benwiley4000/react-extra-prop-types#readme","devDependencies":{"tap-spec":"^4.1.1","tape":"^4.6.3","uuid":"^3.0.1"},"gitHead":"859d805ee60a2489aba94eab0efd9b4897f21128","_id":"react-extra-prop-types@0.2.0","_shasum":"ae29b4ccb13615171cf1ee4601820bb9c85e44ca","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"benwiley4000","email":"therealbenwiley@gmail.com"},"dist":{"shasum":"ae29b4ccb13615171cf1ee4601820bb9c85e44ca","tarball":"https://registry.npmjs.org/react-extra-prop-types/-/react-extra-prop-types-0.2.0.tgz","integrity":"sha512-7otg7vxXkyIt0y0F2kJSdtdsS83cb8064jFbwT0yMDFEb4Xv7rMPEz8wQHF3Ek4D6VzxJbJIr1dPrml9sRcJoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5szKgUKqlC5QRWxFYoWof0GxmCTMux92xFPgdtHWCiAiA5QlmajEsNzn9LveMfhxWCrcIEYYO+uCJw9EogHPfubw=="}]},"maintainers":[{"name":"benwiley4000","email":"therealbenwiley@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-extra-prop-types-0.2.0.tgz_1481268859689_0.08064938592724502"}},"0.3.0":{"name":"react-extra-prop-types","version":"0.3.0","description":"Extra PropTypes for use with React components","main":"index.js","scripts":{"test":"tape test.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/benwiley4000/react-extra-prop-types.git"},"keywords":["react","props","proptypes","proptype","integer","int","color","hex","date","datetime","uuid","guid","extra"],"author":{"name":"Ben Wiley"},"license":"MIT","bugs":{"url":"https://github.com/benwiley4000/react-extra-prop-types/issues"},"homepage":"https://github.com/benwiley4000/react-extra-prop-types#readme","devDependencies":{"tap-spec":"^4.1.1","tape":"^4.6.3","uuid":"^3.0.1"},"gitHead":"dac477de8349db42be970c8b85741e02f63e4567","_id":"react-extra-prop-types@0.3.0","_shasum":"7e79d57851179e228361e0fdfe49ec4b33bf246d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"benwiley4000","email":"therealbenwiley@gmail.com"},"dist":{"shasum":"7e79d57851179e228361e0fdfe49ec4b33bf246d","tarball":"https://registry.npmjs.org/react-extra-prop-types/-/react-extra-prop-types-0.3.0.tgz","integrity":"sha512-teJWzvFp1UtTMbH2Z+6xpq36zzIOLswhLAKkWby7/D8S6F2uxI8ab6jYJyHP+FwrpBW1UUiSwpMNMHtmdiCQjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGy1JtBUq3wY5GRHWfTksc0eq+6AwtszaIeK3M/s1k8qAiBc7NAO3GnuGhggov7Ypqv+FMBleAShKyytMoZFWU9P6g=="}]},"maintainers":[{"name":"benwiley4000","email":"therealbenwiley@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-extra-prop-types-0.3.0.tgz_1481279319042_0.08744068420492113"}},"0.3.1":{"name":"react-extra-prop-types","version":"0.3.1","description":"Extra PropTypes for use with React components","main":"index.js","scripts":{"test":"tape test.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/benwiley4000/react-extra-prop-types.git"},"keywords":["react","props","proptypes","proptype","integer","int","color","hex","date","datetime","uuid","guid","extra"],"author":{"name":"Ben Wiley"},"license":"MIT","bugs":{"url":"https://github.com/benwiley4000/react-extra-prop-types/issues"},"homepage":"https://github.com/benwiley4000/react-extra-prop-types#readme","devDependencies":{"tap-spec":"^4.1.1","tape":"^4.6.3","uuid":"^3.0.1"},"gitHead":"f7eb3973dadec50cf756f1ffeeaf7b7150783ed7","_id":"react-extra-prop-types@0.3.1","_npmVersion":"5.1.0","_nodeVersion":"8.1.2","_npmUser":{"name":"benwiley4000","email":"therealbenwiley@gmail.com"},"dist":{"integrity":"sha512-y5ZRf8C39LSbGULM5bRgvepHJwQyzbuGNMSIxuS7eXshgr4f1/385oN4PqHPecm6o1CrzIBrH7qVVmftkkuWCA==","shasum":"2e0db6fc9b972e32cf3fb479251b8358a9090b55","tarball":"https://registry.npmjs.org/react-extra-prop-types/-/react-extra-prop-types-0.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiU9e6pTC4EEyyEZt5ZTHpco5H6UKgDpt5EzhFwjGRSgIhAOnaaVv3iMWSwpmqDuu+LSSBiuwHBGxMR3I/Km5W6YTH"}]},"maintainers":[{"name":"benwiley4000","email":"therealbenwiley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-extra-prop-types-0.3.1.tgz_1500310720915_0.5302925687283278"}}},"readme":"# react-extra-prop-types\n\nIncludes some additional React [PropTypes](https://facebook.github.io/react/docs/typechecking-with-proptypes.html) for common use cases. No dependencies.\n\n[![NPM](https://nodei.co/npm/react-extra-prop-types.png)](https://npmjs.org/package/react-extra-prop-types)\n\n## PropTypes\n\n* `integer` - invalid if prop is non-integer\n* `color` - invalid if prop is not valid [CSS color string](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value) (rgb(a), hsl(a), hex). Excludes keywords.\n* `datetime` - invalid if prop is not string which can be passed to JavaScript [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) constructor with valid result\n* `uuid` - invalid if prop is not valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)\n\n## Usage\n\n### `require`-ing\n\n```javascript\nvar ExtraPropTypes = require('react-extra-prop-types');\nvar color = ExtraPropTypes.color;\nvar uuid = ExtraPropTypes.uuid;\n\n// or ...\nvar color = require('react-extra-prop-types/lib/color');\nvar uuid = require('react-extra-prop-types/lib/uuid');\n```\n\n### use just like normal `PropTypes`\n\n```javascript\nMyReactComponent.propTypes = {\n  id: ExtraPropTypes.integer,\n  name: React.PropTypes.string,\n  lastFetchTime: ExtraPropTypes.datetime\n};\n```\n\n### props are optional unless `.isRequired` is used\n\n```javascript\nMyReactComponent.propTypes = {\n  id: ExtraPropTypes.integer.isRequired // can't be left out\n};\n```\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n","maintainers":[{"name":"benwiley4000","email":"therealbenwiley@gmail.com"}],"time":{"modified":"2022-06-25T21:18:09.503Z","created":"2016-12-08T07:44:25.033Z","0.1.0":"2016-12-08T07:44:25.033Z","0.2.0":"2016-12-09T07:34:21.728Z","0.3.0":"2016-12-09T10:28:40.933Z","0.3.1":"2017-07-17T16:58:41.971Z"},"homepage":"https://github.com/benwiley4000/react-extra-prop-types#readme","keywords":["react","props","proptypes","proptype","integer","int","color","hex","date","datetime","uuid","guid","extra"],"repository":{"type":"git","url":"git+https://github.com/benwiley4000/react-extra-prop-types.git"},"author":{"name":"Ben Wiley"},"bugs":{"url":"https://github.com/benwiley4000/react-extra-prop-types/issues"},"license":"MIT","readmeFilename":"README.md"}