Socket
Book a DemoInstallSign in
Socket

washday-sdk

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

washday-sdk

Washday utilities functions and API

latest
npmnpm
Version
1.4.2
Version published
Weekly downloads
160
-55.31%
Maintainers
1
Weekly downloads
Β 
Created
Source

πŸŒ€ Washday SDK

Official JavaScript/TypeScript SDK for the Washday API. Provides easy-to-use methods for integrating Washday's laundry management platform into your applications.

πŸš€ Quick Start

Installation

npm install washday-sdk

Basic Usage

import { WashdayClient } from 'washday-sdk';

// Initialize the client
const client = new WashdayClient('your-api-token');

// Example: Clock in an employee
await client.attendance.clockIn({
    storeId: 'store-id',
    notes: 'Starting shift'
});

// Example: Get orders
const orders = await client.orders.getList({
    storeId: 'store-id',
    status: 'pending'
});

// Example: Create a customer
const customer = await client.customers.create({
    name: 'John Doe',
    email: 'john@example.com',
    phone: '+1234567890'
});

πŸ“š Documentation

For complete documentation, examples, and API reference, visit:

πŸ“– docs/README.md

The documentation includes:

  • πŸš€ Getting Started - Installation, authentication, setup
  • πŸ”§ API Modules - Complete reference for all modules (attendance, orders, customers, etc.)
  • πŸ“‹ Examples - Common use cases and patterns
  • 🎯 TypeScript - Full type definitions and interfaces

πŸ—οΈ Architecture

washday-sdk/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ api/           # API endpoint modules
β”‚   β”œβ”€β”€ interfaces/    # TypeScript interfaces
β”‚   └── utils/         # Utility functions
β”œβ”€β”€ docs/              # πŸ“š Complete documentation
β”‚   β”œβ”€β”€ modules/       # Module-specific guides
β”‚   └── examples/      # Code examples
└── dist/              # Compiled JavaScript

πŸ”‘ Authentication

// Using API token (recommended)
const client = new WashdayClient('your-api-token');

// The token will be automatically included in all requests

πŸ› οΈ Development

# Install dependencies
npm install

# Build the SDK
npm run build

# Run tests
npm test

πŸ“‹ Available Modules

ModuleDescriptionDocumentation
attendanceEmployee time trackingπŸ“– Guide
ordersOrder managementπŸ“– Guide
customersCustomer dataπŸ“– Guide
productsProduct catalogπŸ“– Guide
storesStore settingsπŸ“– Guide
staffStaff managementπŸ“– Guide
inventoryStock managementπŸ“– Guide
reportsAnalytics & reportsπŸ“– Guide
cashupsCash registerπŸ“– Guide

See all modules β†’

πŸ†• What's New

  • v1.1.1: πŸ› Fixed missing parameters in attendance endpoints (userId in getHistory/getStatus, storeId in clockOut)
  • v1.1.0: ✨ Added Attendance module with clock-in/out functionality
  • v1.0.2: πŸ”§ Enhanced order management features

🀝 Support

  • πŸ“– Documentation: docs/README.md
  • πŸ› Issues: Create an issue in the repository
  • πŸ’¬ Questions: Contact the development team

πŸ“„ License

ISC License - see LICENSE file for details.

Keywords

washday

FAQs

Package last updated on 12 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts