0.1.4 • Published 11 months ago

@3-/ossput v0.1.4

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
11 months ago

@3-/ossput

test/main.coffee :

#!/usr/bin/env coffee

> @3-/ossput
  ./S3.js > PUBLIC
  fs > createReadStream
#   @3-/uridir
#   path > join

# ROOT = uridir(import.meta)


put = ossput PUBLIC

file = import.meta.url.slice(7)

await put(
  "test.coffee"
  =>
    createReadStream(file)
  "text/js"
  file
)

output :

/Volumes/d/i18n/node/ossput/test/main.coffee → https://i18n.bj.bcebos.com/test.coffee
/Volumes/d/i18n/node/ossput/test/main.coffee → https://f003.backblazeb2.com/file/i18nsite/test.coffee

About This Project

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于本项目

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

0.1.4

11 months ago

0.1.2

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago