View Code? Open in Web Editor
NEW
A automate link building tool perfect for front-end development
Home Page: https://codepen.io/teles/pen/KXaZjN?editors=1011
link-builder's Introduction
OlΓ‘ Mundo, eu sou o Teles π
- π¨βπ¦²
${current_year - 1988}
anos
- π¨βπ» Desenvolvedor web profissional desde a Γ©poca em que o IE6 era inovador
- π Ex-vendedor de carros usados
- π Autoproclamado programador meia-boca (mas aprendendo sempre)
- π¨βπ¨ Poeta amador em Versos do mundo
- ποΈ Sr. Software Engineer em Latitud
- π Acredito que software livre Γ© uma excelente ideia e uma necessidade pra sociedade
- π Pegue uma ideia de aplicativo grΓ‘tis aqui!
- Javascript, ES6 β
- HTML β
- SEO β
- VueJS β
- AngularJS β
- CSS3, SASS β
- Google Analytics β
- Vontade de comer pizza π
link-builder's People
Contributors
Watchers
link-builder's Issues
I'm testing this package with two replacements:
new LinkBuilder(linkBuilderNode.innerHTML, [{anchor: "https://pt.wikipedia.org/wiki/Casa", keyword: "casa", max: 5}, {anchor: "https://pt.wikipedia.org/wiki/Moradia", keyword: "Moradia"}]);
but it is duplicating the content linkBuilderNode.innerHTML
.
This sould be fixed.
Matches needs to include only whole words, it means that strings which are only part of a greather word should not be matched.
Example:
- if
male
keyword is the pattern the female
word should not be matched.
Add some unit tests to LinkBuilder to make sure it is correctly doing these things: