validatorjs / validator-deno Goto Github PK
View Code? Open in Web Editor NEWOfficial Port of validatorjs to deno
License: MIT License
Official Port of validatorjs to deno
License: MIT License
@rubiin We need a way to the maintain the format of the code. Changing tabs/spaces to each other creates large unnecessary diffs and I think our editor configuration is playing a role here.
This is used to track all the validators that has been ported successfully . Feel free to send in any PR which ports the validators which are not ticked below
@rubiin
I was wondering if this repository could be added to the deno website along with the word "official" in the description. Serves people in looking for what they need.
The last version of the mod.ts
url isn't updated in the docs with brings errors when using a lot of the functions. Hope you can update this soon so there are not many sad early adopters of deno
@rubiin At the moment we are running 9 tests each time. Since deno uses semantic versioning, I don't think it is necessary to test for 1.0.0 as well as 1.0.1 and 1.0.2 since these are not major upgrades, otherwise we wouldn't be able to run that many tests in the future.
@rubiin I added isJWT but I think you have accidentally overwritten that when merging. The implementation was changed. Please confirm.
@rubiin I think we should reconsider isCreditCard method and rename it to isPayCard since it is impossible to tell the card type using number without using any APIs which is out of the scope of this library.
the test cases for both validators seems to be failing
Will this official port be published to https://deno.land/x/ ?
Just wondering, could this repo be an answer to this too? validatorjs/validator.js#1271 @rubiin
so we have managed to get most of the validators ported. Since the documenation is not updated, i would like to update them .
Note: also mention the available options for each validator
Use this to check README
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.