0.0.16 • Published 6 years ago

@compositor/publish v0.0.16

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

publish

Client for publishing content to s3.

installation

npm i -S @compositor/publish
npm i -g @compositor/publish && pub --help

usage

const publish = require('@compositor/publish')

publish.dir('/Users/johno/my-site')
  .then(res => {
    console.log(res.uploads.status())
    console.log(res.url)
  })
  .catch(() => console.log('uh oh'))
const publish = require('@compositor/publish')

publish
  .indexAndConfig(
    '<h1>Hello, world</h1>',
    '{"name": "hello world"}'
  )

contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by @getcompositor.

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.13-0

6 years ago

0.0.12-0

6 years ago

0.0.11

6 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago