Skip to content

Simple regex to check whether a string is a valid Figma live embed url

License

Notifications You must be signed in to change notification settings

nagelflorian/is-figma-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-figma-url CircleCI npm Maintainability Test Coverage

Simple regex to check whether a string is a valid Figma live embed url.

Install

npm install is-figma-url --save

Quick start

import isFigmaUrl from 'is-figma-url';

isFigmaUrl('https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-File'); // true
isFigmaUrl('https://www.google.com/'); // false

About

Simple regex to check whether a string is a valid Figma live embed url

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published