Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

snapchat-lens-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snapchat-lens-api

Type definitions for Snapchat Lenses scripting

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Snapchat Lens API

Snapchat Lenses include a scripting library for creating rich interactive experiences. With scripts, Lenses can respond to touch input, play animation and audio, modify Scene Objects, etc.

Snapchat provides a Javascript interpreter and exposes a number of variables and classes, which are documented in the official API documentation.

This type definition builds upon the official API, which it re-packages in a format that's easy to consume by production-grade applications.

Install using npm

npm i snapchat-lens-api

If you're using Typescript in your build process, add the following to your tsconfig.json:

"types": [ "./node_modules/snapchat-lens-api" ]

Feedback

Any feedback? Please open an issue.

Keywords

FAQs

Package last updated on 15 Apr 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc