Menu

Building a Tiny Filter-and-Sort Picker for Turkey Disguise Ideas in Node.js
📰

Building a Tiny Filter-and-Sort Picker for Turkey Disguise Ideas in Node.js

DEV Community: node·dolphin studio·about 10 hours ago
#PHEvitiS
#devtonodejs#devto#dev#minutes#paper
Long article (567 words) — no AI summary yet.
Reading 0:00
15s threshold

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…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.