feat: Add Be and tbd skill, also added Roadmap file

This commit is contained in:
2026-05-10 16:32:12 -04:00
parent 3500ade13f
commit 0bb8885802
29587 changed files with 10611695 additions and 0 deletions

48
Skills/@be/be/node_modules/crypto-token/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,48 @@
/**
* Module depenndencies.
*/
var crypto = require('crypto');
/**
* 62 characters in the ascii range that can be used in URLs without special
* encoding.
*/
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
/**
* Return a token of `length` characters.
*
* @param {Number} length
* @param {Function} fn
*/
module.exports = function(length, fn){
if (typeof length === 'function') fn = length, length = null;
if (!length) length = 10;
if (!fn) return str(crypto.randomBytes(length));
crypto.randomBytes(length, function(err, bytes){
if (err) return fn(err);
fn(null, str(bytes));
})
}
/**
* Make a Buffer into a string ready for use in URLs.
*
* @param {Buffer}
* @returns {String}
* @api private
*/
function str(bytes){
var res = [];
for (var i = 0; i < bytes.length; i++){
res.push(chars[bytes[i] % chars.length]);
}
return res.join('');
}