{"id":45999,"library":"queueobj","title":"queueobj","description":"Queue JavaScript objects dynamically and process them synchronously with built-in appenders. Version 15.1.8 (stable, actively maintained). Provides file, top/bottom, status, name, version, and JSON-based appenders for processing queued objects. Differentiator: synchronous processing with multiple appender patterns, including JSON-driven object processing. Suited for Node.js environments requiring ordered, synchronous object handling.","status":"active","version":"15.1.8","language":"javascript","source_language":"en","source_url":"https://github.com/jman717/queueobj","tags":["javascript","queue","processing","appenders","synchronous","objects","promises","mocha"],"install":[{"cmd":"npm install queueobj","lang":"bash","label":"npm"},{"cmd":"yarn add queueobj","lang":"bash","label":"yarn"},{"cmd":"pnpm add queueobj","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"CJS only; no ESM export. Use require() or dynamic import() in ESM projects.","wrong":"import QueueObj from 'queueobj';","symbol":"QueueObj","correct":"const QueueObj = require('queueobj');"},{"note":"QueueObj must be instantiated with 'new'.","wrong":"const queue = QueueObj();","symbol":"new QueueObj()","correct":"const queue = new QueueObj();"},{"note":"Use .queue() to add objects, not .push().","wrong":"queue.push('appender', object);","symbol":"queue.queue()","correct":"queue.queue('appender', object);"}],"quickstart":{"code":"const QueueObj = require('queueobj');\nconst queue = new QueueObj();\n\nclass MyClass {\n  constructor(props) {\n    this.id = props.id;\n  }\n  process(callback) {\n    console.log(`Processing ${this.id}`);\n    callback({ success: { msg: 'done' } });\n  }\n}\n\nconst obj1 = new MyClass({ id: 1 });\nconst obj2 = new MyClass({ id: 2 });\n\nqueue.queue('all', obj1);\nqueue.queue('all', obj2);\n\nqueue.process('all', function(result) {\n  console.log('All processed:', result);\n});","lang":"javascript","description":"Creates a queue, adds two objects with 'all' appender, processes them synchronously."},"warnings":[{"fix":"Use asynchronous patterns or break tasks into smaller chunks.","message":"Synchronous processing may block event loop for long tasks","severity":"breaking","affected_versions":"*"},{"fix":"Ensure every queued object implements process(callback).","message":"Objects must have a 'process' method","severity":"gotcha","affected_versions":"*"},{"fix":"Use dynamic import() or transpile with bundler.","message":"No ESM support; CJS only","severity":"deprecated","affected_versions":">=15.0.0"}],"env_vars":null,"search_vec":"'15.1.8':16 'activ':18 'append':14,30,40,60 'base':29 'built':12 'built-in':11 'differenti':35 'driven':45 'dynam':5 'environ':51 'file':21 'handl':56 'includ':42 'javascript':3,57 'json':28,44 'json-bas':27 'json-driven':43 'maintain':19 'mocha':64 'multipl':39 'name':24 'node.js':50 'object':4,34,46,55,62 'order':53 'pattern':41 'process':7,32,37,47,59 'promis':63 'provid':20 'queu':33 'queue':2,58 'queueobj':1 'requir':52 'stabl':17 'status':23 'suit':48 'synchron':9,36,54,61 'top/bottom':22 'version':15,25","created_at":"2026-06-07T12:57:47.207109+00:00","updated_at":"2026-06-07T12:57:47.207109+00:00","problems":[{"fix":"Use: const queue = new QueueObj();","cause":"Forgetting to instantiate QueueObj with 'new'","error":"TypeError: queue.queue is not a function"},{"fix":"Use one of: files, all, top_one, bottom_one, func_all, status, name, version, etc.","cause":"Passed unsupported appender name","error":"Error: No appender found for 'all'"},{"fix":"Add process method to your class or object.","cause":"Queued object missing process(callback) function","error":"TypeError: Object has no 'process' method"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/jman717/queueobj","github":"https://github.com/jman717/queueobj","docs":null,"changelog":null,"pypi":null,"npm":"queueobj","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}