





























Open source changed the software development. And it changes the developers. Many libraries, apps, servers, and much more are powered by open source software.
I always wanted to create and maintain an open source project. It is a must experience for every software developer.
This way I started to work on a JavaScript library called Voca. It's main scope is to facilitate the string manipulations in JavaScript.
From the start I setup for myself the following quality obligations:
After 6 months of hard work, I recently released the finished version of the library.
var v = require('voca');
v.camelCase('bird flight'); // => 'birdFlight'
v.sprintf('%s costs $%.2f', 'Tea', 1.5); // => 'Tea costs $1.50'
v.slugify('wonderful world'); // => 'wonderful-world'
The Voca library offers helpful functions to make string manipulations comfortable: change case, trim, pad, slugify, latinise, sprintf'y, truncate, escape and much more. The modular design allows to load the entire library, or individual functions to minimize the application builds. The library is fully tested, well documented and long-term supported.
Check more details on:
The library is published on npm, so you can install it already:
The Voca library was lucky enough to land first one in trending JavaScript repositories for 16 December 2016:
This is a nice beginning. I hope the library will serve well JavaScript developers in the long run.
I suggest you to install and use the Voca library. Of course, do not hesitate to star it!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。