Name
1
ModuleExplorer
2
simpleDeduper
3
makeEnum
4
loadAllRecords
5
removeComments
6
writeToTen
7
newModulartable
8
globalSearch
9
addAll
10
wordCount
11
randomSort
12
isClass
13
allUnique
14
remove_single_line_comments
15
SPLIT_TAGS
16
compile_regex_flags
17
tokenizeLANG
Drag to adjust the number of frozen columns
code
Load
wc
docs
testing
config
files
tags
globalDependencies
/**

Explore Dashboard

  • found under the Explore dashboard

{

"one-liner": true

async
universe
controller
base, console, input, output
const 

simpleDeduper

Dug up from my posting history on Airtable Community, figured it might be informative to newcomers regardless. It's object oriented and not yet configured to actually be useful beyond keeping some primary field clean of duplicate names or other values.

{

"default-interface": "Docs",

universe
function
async
template
base, console, input
/**
[ 
  ['Monday', 'Tuesday', 'Potato'],
object
tutorial
universe
function
gumroad
🖱 one-click demo
console

/**

* @version 0.0.4

loadAllRecords

A simple function for addressing a common requirement: being greedy with how we select our records.

await loadAllRecords('Modules');



async
universe
gumroad
🖱 one-click demo
function
base, console
/**
 * @param Code {string}
removeComments

A utility that instantly scrubs comments from JavaScript source code. Does not discriminate betweeen single- and multiline patterns. Trims any consecutive newlines afterward.

{

"bundle": "mable-utils"

function
gumroad
anonymous
nlp/nlg
output
universe
output
SWITCH(

{

"default-interface": "docs",

formula
gumroad
universe
/**

A tiny script to help you get started with using Airtable as an agile module repository. It will create a table just like this one, so you can quickly start building something much greater than the sum of its modules.

-

async
universe
template
function
base
function globalSearch(query){

globalSearch

A straightforward utility for searching through the globalThis object.

[
  globalSearch('file'),

{

"bundle": "mable-utils"

function
🖱 one-click demo
universe
function addAll(...numbers){

This simple utility is here primarily to serve as a test subject; something to help illustrate the basics of developing maintaining an Airtable-native module system. You’ll see it used in various examples of importing, exporting, and otherwise modularizing your code that can be found in this base-repo.

[

function
universe
gumroad
🖱 one-click demo
anonymous
IF(
{Content} = BLANK(),
wordCount

@v0.3

{

"default-interface": "docs",

formula
universe
gumroad
arr => arr.sort(() => 0.5 - Math.random())


  • This only works for sorting primitive values
  • If you want to apply it to arrays of objects, you'll need to pick one of their props to "discriminate" against using this method, even thought the discrimination threshold is literally random for every iteration
[

function
anonymous
universe
🖱 one-click demo
object => typeof object === 'function' && /^\s*class\s+/.test(object.toString())
isClass

Checks if a given function is an ES6 class declaration.

[


misc.
anonymous
🖱 one-click demo
function
universe
gumroad
array => array.length === new Set(array).size
  • checks how unique a given array is
  • isn't that concerned with the details, it either is or isn't unique
[

{

"bundle": "mable-utils"

anonymous
function
universe
🖱 one-click demo
REGEX_REPLACE(code,'(\\/{2}.*)','')

A reliable one-liner to help with your script refactorings in the cloud.



formula
gumroad
universe

formula SPLIT_TAGS(Target: string)

REGEX_REPLACE(

Formats a multiple-select field or equivalent string into a column.


universe
gumroad
formula
IF(
  Flags, '(?' 

A modular formula that lets you use a multiple-select field to compile regex flags. Part of Mable Formulator.


formula
universe
gumroad
TRIM(
  REGEX_REPLACE(

Reliably split any western language into word-like tokens.


formula
gumroad
universe
17 records
Extensions

Alert

Lorem ipsum
Okay