This post walks through building a lightweight, pure-Node.js tool to filter and sort turkey disguise ideas based on time available and supplies on hand. The data is a small hand-copied slice of the character ranking on disguise a turkey ideas , a site that lists 81 disguise ideas with supply lists, printable outlines and coloring pages. Only seven character disguises are in the JSON here.
Data Structure
The core dataset is stored in data.json and contains an array of objects, each describing a disguise with:
name : The disguise's name (e.g., "Minion")
minutes : Estimated time in minutes to complete (e.g., 15)
paper : List of paper types required (e.g., ["yellow", "blue"])
extras : List of additional materials needed (e.g., ["black strap"])
Example:
[ { "name" : "Minion" , "minutes" : 15 , "paper" : [ "yellow" , "blue" , "grey" ] , "extras" : [ "black strap" ] } , { "name" : "The Grinch" , "minutes" : 25 , "paper" : [ "green" , "red" ] , "extras" : [ "cotton ball" ] } ]
Enter fullscreen mode
Exit…