Socket
Socket
Sign inDemoInstall

ls-service-date

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ls-service-date

Litespeed.js view component that adds a copy button to your element text content or input element value.


Version published
Weekly downloads
15
increased by25%
Maintainers
1
Install size
279 kB
Created
Weekly downloads
 

Readme

Source

ls-service-date

npm npm version Build Status Chat With Us

Litespeed.js service component for manipulating unix time date formats.

Installation

This package is wrapped as a Litespeed.js component. To use it, you need to init a new Litespeed.js project or use an exisiting Litespeed.js project. To learn more about Litespeed.js Javascript web framework got to the official repository.

Install with NPM:

npm install ls-service-date

Install with CDN:

<script src="https://cdn.jsdelivr.net/npm/ls-service-date"></script>

Getting Started

Example

let date = window.ls.container.get('date');

date.timetostr('Y-m-d H:i', 1564947784); // 2019-08-04 22:43:04
date.strtotime('2019-08-04 22:43:04'); // 1564947784

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

For security issues, please email security@appwrite.io instead of posting a public issue in GitHub.

The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php

Keywords

FAQs

Last updated on 04 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc