projects > lastpass.ts
1
Lastpass for Raycast[github][live]
1
2
The LastPass Raycast Extension project provides an integration
3
for LastPass within the Raycast productivity tool.
4
5
This extension enables users to manage and access their passwords
6
directly from Raycast, enhancing efficiency and security.
7
8
The project focuses on providing a seamless user experience while
9
maintaining robust security measures, making password management
10
both convenient and secure.
11
12
[Node.js][Raycast][React]
13
15
16
const serializeFromJson = (jsonArray: string): Account[] => {
17
const array: { last_modified_gmt: string; last_touch: string }[] = JSON.parse(jsonArray);
18
const res = array.map(
19
(obj) =>
20
({
21
...obj,
22
lastModified: new Date(parseInt(obj.last_modified_gmt, 10) * 1000),
23
lastTouch: new Date(parseInt(obj.last_touch, 10) * 1000),
24
} as unknown as Account)
25
);
26
return res;
27
};
28
29
// Platform-specific command builders
30
const buildMacOSCommand = (command: string): string => {
31
const PATH = "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.:/opt/homebrew/bin";
32
return `zsh -l -c 'export PATH="$PATH:${PATH}" && ${command}'`;
33
};
34
35
36
37
38
39
40
NORMAL~/oleksandr/projects/lastpass.ts.../projects/lastpass.tsmainutf-8
Enter to open · :q to quit
keys
j / kmove the cursor line, or the tree cursor
hfocus the tree; in the tree, fold or go to the parent
l / Enterin the tree, unfold or open the file
gg / Gfirst / last line
clickput the cursor on a line; on README.sh, run the session again
:qquit to the shell
:help ?this table
q / Escclose this