0.0.6 • Published 4 years ago

@tikicat/taolag-slugify v0.0.6

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
4 years ago

taolag-slugify

Reusable slugify presets for use with my personal project.

You should not use it. You're have a bad time.

Usage

const leroy = require('@tikicat/taolag-slugify');

const jackson = leroy.taolagSlug('Leroy/Jackson');

// jackson == leroy/jackson

taolagSlug(str)

Default slugify but allow '/'.

'Leroy Jackson/was/here' => 'leroy-jackson/was/here'

decodeS3Key(str)

URI Decode plus turn + in space.

getAlbumTitle(str)

Extracts the "Album Title" from the path. Must be decoded first.

makeTaolagAlbumItemRecord(str)

Reads in the Lambda S3 event key propery and makes a DynomoDB Item object.

makeTaolagPhotoItemRecord(str)

Reads in the Lambda S3 event key propery and makes a DynomoDB Item object.

Publishing to npmjs.com

npm login

npm publish --access public

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

6 years ago