Socket
Book a DemoInstallSign in
Socket

aem-slang

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

aem-slang

Curl files to JCR/Sling

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
114
35.71%
Maintainers
1
Weekly downloads
 
Created
Source

aem-slang

==============

Install

    npm install aem-slang --save-dev

Example

var slang = require('aem-slang');

slang.setOptions({
    port: 4503,
    host: 'localhost'
});

slang.up('file.js').then(function(status) {
    // any action for after successful upload
}).catch(function(err) {
    // handle error
});

Options

If #setOptions is not called before #up, it falls back to defaults

host

Type: string Default: localhost

hostname to running sling instance.

port

Type: number Default: 4502

Port for running sling instance.

username

Type: string Default: admin

Username for authentication.

password

Type: string Default: admin

Password for authentication.

Development

Clone this repo, then npm install

after any changes, run npm run build to compile

Keywords

AEM

FAQs

Package last updated on 31 May 2016

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.