Links recognition library with FULL unicode support for detecting high-quality link patterns in plain text
Overall
score
97%
A utility that validates whether user-provided URLs start with valid, fully-formed links and extracts their components for further processing.
@generates
/**
* Validates whether a string starts with a fully-formed URL and extracts its information.
*
* @param {string} text - The text to validate.
* @returns {Object|null} An object with { isValid: boolean, schema: string, url: string, raw: string } if a link is found at the start, or null otherwise.
*/
function validateUrlAtStart(text) {
// IMPLEMENTATION HERE
}
module.exports = {
validateUrlAtStart
};Provides link detection and matching capabilities for identifying URLs in text.
Install with Tessl CLI
npx tessl i tessl/npm-linkify-itdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10