1.0.6 • Published 6 years ago

drivelogsfn v1.0.6

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

DriveLogsFn

A Node.js module that holds helper functions used in drivelogs.

Functions

getRawLogName

Converts from log name to raw log name.

getLogName

Converts from raw log name to log name.

Installation

npm install drivelogsfn --save
yarn add drivelogsfn

Usage

Javascript

var pluralise = require('drivelogsfn');
var rawLogName = getRawLogName(<LogNameHere>)
var logName = getLogName(<rawLogNameHere>)
Output should be standard raw log name format and log name format (as of Feb 2018).

TypeScript

import { getRawLogName, getLogName } from 'drivelogsfn';
const rawLogName = getRawLogName(<logNameHere>)
const logName = getLogName(<rawLogNameHere>)
Output should be standard raw log name format and log name format (as of Feb 2018).

Test

npm run test
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago