1// [email protected] downloaded from https://ga.jspm.io/npm:[email protected]/index.js 2 3/** 4 * Parse space-separated tokens to an array of strings. 5 * 6 * @param {string} value 7 * Space-separated tokens. 8 * @returns {Array<string>} 9 * List of tokens. 10 */ 11function parse(r){const t=String(r||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]} 12/** 13 * Serialize an array of strings as space separated-tokens. 14 * 15 * @param {Array<string|number>} values 16 * List of tokens. 17 * @returns {string} 18 * Space-separated tokens. 19 */function stringify(r){return r.join(" ").trim()}export{parse,stringify}; 20
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.