devkits-chmod
v1.0.0
Published
Calculate Unix file permissions (chmod) values
Downloads
77
Maintainers
Readme
devkits-chmod
Calculate Unix file permissions (chmod) values
Installation
npm install -g devkits-chmodOr use without installation:
npx devkits-chmod [args]Usage
# Show what an octal value means
dk-chmod 755
dk-chmod 644
dk-chmod 600
# Calculate from symbolic permissions
dk-chmod --owner rwx --group r-x --other r-x # 755
dk-chmod --owner rw --group r --other r # 644
# Using symbolic notation
dk-chmod -s u+rwx,g+rx,o+rx # 755Output Example
Chmod Calculator Results
========================
Octal: 755
Permissions:
Owner: rwx (7)
Group: r-x (5)
Other: r-x (5)
Binary: 111 101 101
Command: chmod 755 <file>
Common patterns:
777 - rwxrwxrwx (everyone has full access) ⚠️
755 - rwxr-xr-x (common for directories)
644 - rw-r--r-- (common for files)
600 - rw------- (private file)
400 - r-------- (read-only, owner only)Permission Values
| Value | Binary | Symbolic | Meaning | |-------|--------|----------|---------| | 7 | 111 | rwx | Read + Write + Execute | | 6 | 110 | rw- | Read + Write | | 5 | 101 | r-x | Read + Execute | | 4 | 100 | r-- | Read only | | 3 | 011 | -wx | Write + Execute | | 2 | 010 | -w- | Write only | | 1 | 001 | --x | Execute only | | 0 | 000 | --- | No permissions |
Why @devkits/chmod?
- ✅ Fast - Instant calculation
- ✅ Zero dependencies - Pure Node.js
- ✅ Offline - Works without internet
- ✅ Free - Open source (MIT)
- ✅ CLI - Use in your terminal
- ✅ Shows binary and symbolic representations
Web Version
Prefer a GUI? Check out the web version: https://devkits-tools.surge.sh/tools/chmod-calculator
- 84 developer tools in one PWA
- Works offline
- No signup required
Pro Features
Upgrade to Pro for advanced features:
- 📦 Batch Processing
- 🔗 API Access (1000 req/day free)
- ☁️ Cloud Sync
- 🎨 Custom Themes
- 📊 Advanced Analytics
- 💬 Priority Support
Price: $9 one-time payment
Upgrade: https://devkits-tools.surge.sh/pro
Discount: Use code EARLYBIRD-2026 for 20% off
See Also
Part of the DevKits Tools collection — 80+ free developer tools:
Popular Tools
| Tool | npm Package | Description |
|------|-------------|-------------|
| Base64 | @devkits/base64 | Encode/decode Base64 |
| JSON Formatter | @devkits/json-formatter | Format and validate JSON |
| Color Converter | @devkits/color-converter | HEX/RGB/HSL conversion |
| UUID Generator | @devkits/uuid-generator | Generate unique UUIDs |
| Hash Generator | @devkits/hash-generator | MD5, SHA1, SHA256, SHA512 |
| Regex Tester | @devkits/regex-tester | Test regex patterns |
Other DevKits Tools
- HTML Tools — HTML entity encode/decode
- CSS Tools — CSS minify/format
- Cron Parser — Parse cron expressions
- Case Convert — camelCase, snake_case, etc.
- Slugify — Create URL-friendly slugs
- Lorem Ipsum — Generate placeholder text
- Password Generator — Secure passwords
- Text Counter — Word/char counter
More from DevKits
- Invoicely — Free invoice generator for freelancers
- SnapOG — Free OG image generator with 20+ templates
- API Monitor — Real-time API monitoring
👉 Explore all 80+ developer tools at DevKits Tools
License
MIT © DevKits Team
🚀 API Monitoring for Developers
Build better APIs with API Monitor SaaS — real-time monitoring, alerting, and analytics.
👉 Early Access: $1 pre-order (50% off for life) → https://api-monitor-saas.surge.sh?utm_source=npm&utm_medium=readme&utm_campaign=phase0
