Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xattr-file

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xattr-file

Create AppleDouble files with NodeJS – useful to preserve OS X extended attributes in zip files or on non-HFS+ volumes

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

xattr-file

Create files that store OS X extended attributes (xattrs) in seperate files. These files are used on file systems other than HFS+ and in ZIP files. In ZIP files they are named __MACOSX/._<file name>.

The format of xattr files is the legacy AppleDouble format, that contains a "Finder Info" resource fork, which in turn contains extended attributes. OS X ignores all other information in the AppleDouble file.

Installing

npm install xattr-file

Using

var xattr = require("xattr-file");
var buffer = xattr.create({
  "com.example.Attribute": "my data"
});

/* Use buffer in zip file, or write to __MACOSX/._file. */

FAQs

Package last updated on 22 Aug 2014

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc