0.0.16 • Published 7 years ago

@compositor/publish v0.0.16

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.13-0

8 years ago

0.0.12-0

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago