{"componentChunkName":"component---src-templates-blog-post-js","path":"/what-is-utils-do-and-how-it-help-you-with-applications-for-dominicans","result":{"data":{"contentfulBlogPost":{"createdAt":"2019-09-20T23:35:31.727Z","updatedAt":"2020-01-23T18:26:19.922Z","id":"0c7ced34-3402-5b26-a5f8-4e1cd3b5caf9","description":"Are you a Dominican developer? Are you thinking of developing an application for the dominican market? It is possible that this package may interest you.","title":"What is Utils-Do and how it might help you with an application for Dominican Republic? ","body":{"id":"62f34e18-e07a-5eee-a402-1352a3d6ae78","childMarkdownRemark":{"id":"3b71bfae-8995-5d27-9dca-73f71bcfcfbb","html":"<p>On one occasion I was developing a <em>local web application</em>, which one of its requirements was to segment its users by municipality. As a result, I tried to find some kind of package that would help me to speed up the process of developing this application, which would operate in the Dominican Republic where I was born and currently living.</p>\n<p>As expected, I found nothing. That is why it occurred to me to take the initiative and there create the project of <strong>Utils-Do</strong></p>\n<h2>What is Utils-DO?</h2>\n<p>It is a package written in JavaScript whose purpose is to provide functions that we commonly use when creating an application focused on the local Dominican market.</p>\n<hr>\n<h2>What can you do?</h2>\n<p>Currently it exports two main objects:</p>\n<h3>- Geo</h3>\n<p>It handles all the methods related to geographic information of the country.</p>\n<p>Their methods range from obtaining an <em>array</em> with all the provinces, to finding a specific municipality.</p>\n<pre><code class=\"language-javascript\">const {Geo} = require (\"utils-do\")\n\nGeo.getProvinces () // [\"Azua\", \"Bahoruco\", \"Barahona\", \"Dajabón\", \"Duarte\", \"El Seibo\", \"Elías Piña\", \"Espaillat\", \"Hato Mayor\", ...]\n\nGeo.getMunicipalitiesOf (\"La Romana\") // Object {Guaymate: [], La Romana: [\"Caleta\"], Villa Hermosa: [\"Cumayasa\"]}\n\nGeo.getProvinceByMunicipality (\"Santo Domingo Este\") // [\"Santo Domingo\"]\n</code></pre>\n<h3>- Validator</h3>\n<p>It handles the data patterns that are used in the country.</p>\n<p>Their methods verify data such as a Card ID number or telephone number according to the known pattern.</p>\n<pre><code class=\"language-javascript\">const {Validator} = require (\"utils-do\")\n\nValidator.isAnIde (\"DO45879189\") // false\n\nValidator.isATel (\"8095564125\") // true\n\nValidator.formatToTel (\"8095564125\") // \"(809) 556-4125\"\n</code></pre>\n<hr>\n<h3>What is the purpose of this repository?</h3>\n<p>This is an Open Source project created to have all the functions that we'll need when we're building an application for the Dominican market.</p>\n<blockquote>\n<p>This library is written only JavaScript and does not contain any dependencies with others packages.</p>\n</blockquote>\n<p>You can read more information about this wonderful package, you can access <a href=\"https://www.npmjs.com/package/utils-do\">npm</a> or <a href=\"https://github.com/ogaston/utils-do\">github</a>.</p>","excerpt":"On one occasion I was developing a local web application, which one of its requirements was to segment its users by municipality. As a result, I tried to find some kind of package that would help me to speed up the process of developing this application, which would operate in…"}},"image":{"id":"62904205-dd76-5c01-9d62-8b5892be640d","fluid":{"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAMAAABI111xAAAAXVBMVEWRzOx2orptlatulq2Lw+GEtM8EBAQBAQECAgMDAwNRa3mBrcYJRnEHVYwGVo4IU4ZOdY2BrcUHVowHaa1Od5GBrMQJZ6ohZ6ROeJOBrsclaKI6c6ROeZSCr8hOepWQ0jY+AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH5gUfFCUldIuVigAAAERJREFUCNdjYKAIMMJoRjDxB8xhgYixMgLBPwZmFEE2oNh/IP6GJohkGBMDTI6ZBa4EIciCEIRRPxl+IpQwoTjwH4QCAOaJCD1qbGqwAAAAAElFTkSuQmCC","aspectRatio":1.7777777777777777,"src":"//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=786&q=50","srcSet":"//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=197&h=111&q=50 197w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=393&h=221&q=50 393w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=786&h=442&q=50 786w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=1179&h=663&q=50 1179w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=1572&h=884&q=50 1572w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=1920&h=1080&q=50 1920w","srcWebp":"//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=786&q=50&fm=webp","srcSetWebp":"//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=197&h=111&q=50&fm=webp 197w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=393&h=221&q=50&fm=webp 393w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=786&h=442&q=50&fm=webp 786w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=1179&h=663&q=50&fm=webp 1179w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=1572&h=884&q=50&fm=webp 1572w,\n//images.ctfassets.net/szbztvipepx3/LRtlzFPiutB8nDAjBNYap/6e793fa7b91657b688f2db780f54b9f5/Sin_t__tulo.png?w=1920&h=1080&q=50&fm=webp 1920w","sizes":"(max-width: 786px) 100vw, 786px"}}}},"pageContext":{"slug":"what-is-utils-do-and-how-it-help-you-with-applications-for-dominicans","intl":{"language":"en","languages":["en","es"],"messages":{"title":"Omar Gaston","navbar.knowme":"About me","navbar.projects":"Projects","navbar.contact":"Contacts","frontpage.readMyBlog":"Read my blog","frontpage.knowme":"Who am I?","blog.subtitle":"Creating stories.","blog.title":"Sharing my ideas","blog.text":"with the community.","subscribe":"Subscribe","changeLanguage":"ES","goBack":"Go back","viewOnGithub":"View on Github","viewProject":"View Project","viewMore":"See more","notFound.title":"NOT FOUND","notFound.text":"You just hit a route that doesn't exist... what sadness! ","notFound.knowAuthor":"well, this guy","notFound.goBlog":"Better go and read something","notFound.whoSay":"...Who say that?","personal.title":"Who I Am?","personal.fullname":"Omar Gaston Chalas","personal.salute":"Hi, I'm","personal.presentation":"A Javascript Full-Stack Developer, Lover of creating products which make people's life easier.","personal.presentationContinue":"I'm always eager to hear about new ideas, create and learn new things.","personal.coverletter":"Well I'm Omar, a Dominican Software Engineer passionate about Javascript, web development and related technologies. As a developer, I've been building highly scalable business apps for more than 3+ years caring deeply about the details in both well-crafted code and user-facing experience. ","personal.coverletterContinue":"Since I remember, I've always been curious and eager to learn new technologies and acquire new skills. Constant learning and a proactivity attitude have allowed me to be comfortable with the rapid changes which are already common in the modern tech industry.","personal.coverletterContinue2":"Despite I care about keeping my technical skills shaped, I also have a Startup mindset and pragmatic attitude, that comes with a willingness to lead projects and desire to understand about the business and where it’s heading","personal.quote":"It's not all about me, As a team player, I love collaborating with others and be involved in Open Source projects. For me, mentoring and helping others is the best way to giving back to those whos have led me in the past.","personal.coverletterFooter":"By the way, These are some of the tools I'm currently using: ","aptitudes.title":"Skills","aptitudes.creativity.title":"Creativity","aptitudes.creativity.text":"The best way to demonstrate authenticity is by being creative.","aptitudes.innovation.title":"Innovation","aptitudes.innovation.text":"Experiment and apply new technologies.","aptitudes.focused.title":"Focus","aptitudes.focused.text":"The correct solutions arise by dividing a problem and focusing on each part.","aptitudes.consistency.title":"Consistency","aptitudes.consistency.text":"The only way to achieve success is to persevere.","aptitudes.simplest.title":"Simplicity","aptitudes.simplest.text":"It's always good when something works, but when it's simple and works, it's wonderful.","aptitudes.community.title":"♥","aptitudes.community.text":"Work as a team with communities and colleagues.","projects.title":"Projects","projects.text":"Some of the projects I've been working on","contact.title":"Contact","contact.text":"Talk to me and work together.","contact.form.email.label":"Email","contact.form.email.placeholder":"Your email","contact.form.message.label":"Message","contact.form.message.placeholder":"Anything about you, your work or your pet :)","contact.form.submit":"Send","contact.form.secondmessage":"Tell me, what's going on?","contact.writeme":"Write me!","lastPost.title":"Latest posts","search.result":"result","search.noresult":"No results for","search.search":"Search"},"routed":false,"originalPath":"/what-is-utils-do-and-how-it-help-you-with-applications-for-dominicans","redirect":false}}}}